|
|
|||
Warning, /eic-opticks/sysrap/gl/normal/vert.glsl is written in an unsupported language. File is not indexed.
0001 #version 410 core
0002 uniform mat4 MVP;
0003
0004 in vec3 vNrm;
0005 in vec3 vPos;
0006
0007 out vec4 v_color;
0008
0009 void main()
0010 {
0011 gl_Position = MVP * vec4(vPos, 1.0);
0012
0013 //v_color = vec4( vNrm*0.5 + 0.5, 1.0 );
0014 v_color = vec4( clamp( vNrm*0.5 + 0.8, 0.0, 1.0) , 1.0 );
0015
0016 }
0017
0018
0019
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|