/usr/share/games/pink-pony/GLSL/heightmap.vert is in pink-pony-data 1.4.1-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | varying vec3 eye;
varying vec3 light;
varying vec3 normal;
varying vec3 world_coord;
void main (void)
{
normal = gl_NormalMatrix * gl_Normal;
vec4 light_position = gl_LightSource[0].position;
light = normalize(light_position.xyz);
world_coord = gl_Vertex.xyz;
//gl_ClipVertex = gl_Vertex;
gl_Position = ftransform();
eye = (gl_ModelViewMatrix * gl_Vertex).xyz;
}
|