ho3/resources/shaders/water.vertex
Vladislav Khorev d132060e19 Resurrection
2024-06-06 16:25:38 +03:00

13 lines
167 B
Plaintext

uniform vec3 CamPos;
varying vec3 camVec;
void main()
{
gl_Position = ftransform();
gl_TexCoord[0] = gl_MultiTexCoord0;
camVec = (gl_Vertex.xyz - CamPos);
}