Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSL120/ShowNormals.glsl @ 12091

Last change on this file since 12091 was 12091, checked in by wiesep, 5 years ago

Updated programs and adjusted Material to work with GLSL>150

File size: 202 bytes
Line 
1#version 120
2
3attribute vec4 position;
4attribute vec3 normal;
5
6varying vec4 oUv0;
7
8uniform mat4 worldViewProj;
9
10void main()
11{
12    gl_Position = worldViewProj * position;
13    oUv0 = vec4(normal, 1.0);
14}
Note: See TracBrowser for help on using the repository browser.