/usr/share/sludge/fixScaleSprite.vert is in sludge-engine 2.2.1-2build2.
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 22 23 24 25 | attribute vec4 myVertex;
attribute vec2 myUV0;
attribute vec2 myUV1;
attribute vec2 myUV2;
uniform mat4 myPMVMatrix;
uniform vec4 myColor;
uniform vec4 mySecondaryColor;
varying vec2 varCoord0;
varying vec2 varCoord1;
varying vec2 varCoord2;
varying vec4 color;
varying vec4 secondaryColor;
void main() {
varCoord0 = myUV0.st;
varCoord1 = myUV1.st;
varCoord2 = myUV2.st;
gl_Position = myPMVMatrix * myVertex;
color = myColor;
secondaryColor = mySecondaryColor;
}
|