/usr/share/games/pink-pony/GLSL/heart.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 light;
varying vec3 normal;
varying vec3 eye;
void main (void)
{
gl_Position = ftransform();
normal = gl_NormalMatrix * gl_Normal;
vec4 light_position = gl_LightSource[0].position;
light = normalize(light_position.xyz);
eye = (gl_ModelViewMatrix * gl_Vertex).xyz;
gl_FrontColor = gl_Color;
}
|