This file is indexed.

/usr/share/libavogadro/shaders/x-ray.vert is in avogadro-data 1.1.1-0ubuntu2.

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
// X-ray shader
// Set eye position , normal and transformed vertex position

varying vec3 ViewDirection;
varying vec3 Normal;

uniform vec3 eyePosition;

void main( void )
{
   // World coordinates.
   vec4 vertexPosition = gl_ModelViewMatrix * gl_Vertex;
   // View Direction.
   ViewDirection  = normalize( eyePosition - vertexPosition.xyz );
   // Vertex Normal.
   Normal         = gl_NormalMatrix * gl_Normal;
   // Assign transformed vertex coordinates to GLSL variable.
   gl_Position = ftransform();
}