port from perforce
This commit is contained in:
9
underwater4k/vertex.glsl
Normal file
9
underwater4k/vertex.glsl
Normal file
@@ -0,0 +1,9 @@
|
||||
varying vec4 Y;
|
||||
varying vec2 Z;
|
||||
|
||||
void main()
|
||||
{
|
||||
Y = gl_Color;
|
||||
Z = (gl_Vertex.xy*vec2(1.7777,1.0))*0.5+0.5;
|
||||
gl_Position = gl_Vertex;
|
||||
}
|
||||
Reference in New Issue
Block a user