Commit initial
This commit is contained in:
15
test/shader/render2.vert
Normal file
15
test/shader/render2.vert
Normal file
@@ -0,0 +1,15 @@
|
||||
uniform mat4 modelview;
|
||||
uniform mat4 projection;
|
||||
|
||||
uniform mat4 lightProjection;
|
||||
uniform mat4 lightModelview;
|
||||
|
||||
varying vec4 lightCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * modelview * gl_Vertex;
|
||||
|
||||
lightCoord = lightProjection * lightModelview * gl_Vertex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user