ho3/resources/shaders/water.vertex

13 lines
167 B
Plaintext
Raw Normal View History

2024-06-06 13:25:38 +00:00
uniform vec3 CamPos;
varying vec3 camVec;
void main()
{
gl_Position = ftransform();
gl_TexCoord[0] = gl_MultiTexCoord0;
camVec = (gl_Vertex.xyz - CamPos);
}