/usr/share/lightspark/lightspark.vert is in lightspark-common 0.7.2-3ubuntu1.
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 | attribute vec4 ls_Color;
attribute vec2 ls_Vertex;
attribute vec2 ls_TexCoord;
uniform mat4 ls_ProjectionMatrix;
uniform mat4 ls_ModelViewMatrix;
uniform vec2 texScale;
varying vec4 ls_TexCoords[2];
varying vec4 ls_FrontColor;
void main()
{
// Transforming The Vertex
gl_Position=ls_ProjectionMatrix * ls_ModelViewMatrix * vec4(ls_Vertex,0,1);
ls_FrontColor=ls_Color;
vec4 t=vec4(0,0,0,1);
//Position is in normalized screen coords
t.xy=((gl_Position.xy+vec2(1,1))/2.0)*texScale;
ls_TexCoords[0]=vec4(ls_TexCoord, 0, 1);
ls_TexCoords[1]=t;
}
|