/usr/share/sludge/scale.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;
uniform mat4 myPMVMatrix;
uniform vec4 myColor;
uniform vec4 mySecondaryColor;
varying vec2 varCoord0;
varying vec2 varCoord1;
varying vec4 color;
varying vec4 secondaryColor;
void main()
{
gl_Position = myPMVMatrix * myVertex;
varCoord0 = myUV0.st;
// Light
varCoord1 = myUV1.st;
color = myColor;
secondaryColor = mySecondaryColor;
}
|