This file is indexed.

/usr/share/sludge/fixScaleSprite.frag is in sludge-engine 2.1.2-3build1.

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
21
uniform sampler2D tex0;
uniform sampler2D tex1;
uniform sampler2D tex2;
uniform bool useLightTexture;

void main()
{
	vec4 texture = texture2D (tex0, gl_TexCoord[0].xy);
	vec4 texture2 = texture2D (tex2, gl_TexCoord[2].xy);
	vec3 col;
	if (useLightTexture) {
		vec4 texture1 = texture2D (tex1, gl_TexCoord[1].xy);
		col = texture1.rgb * texture.rgb;
	} else {
		col = gl_Color.rgb * texture.rgb;
	}
	col += vec3(gl_SecondaryColor);
	vec4 color = vec4 (col, gl_Color.a * texture.a);
	col = mix (texture2.rgb, color.rgb, color.a);
	gl_FragColor = vec4 (col, max(texture.a, texture2.a));
}