13 lines
167 B
Plaintext
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);
|
||
|
|
||
|
}
|