/usr/share/games/pink-pony/GLSL/water.vert is in pink-pony-data 1.4.1-1build1.
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 | varying vec3 world_coord;
varying vec3 camera_coord;
varying vec3 normal;
varying vec4 color;
uniform vec3 water_color;
void main (void)
{
world_coord = gl_Vertex.xyz;
camera_coord = (gl_ModelViewMatrixInverse * vec4(0,0,0,1)).xyz;
normal = gl_Normal;
gl_Position = ftransform();
color = vec4(water_color, gl_Color.a);
}
|