/usr/share/games/trackballs/shaders/ui.vert is in trackballs-data 1.2.4-1.
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 | #version 130
#ifdef GL_ES
precision mediump int;
precision mediump float;
#endif
uniform float screen_width;
uniform float screen_height;
attribute vec2 in_Position;
attribute vec4 in_Color;
attribute vec2 in_Texcoord;
varying vec4 color;
varying vec2 texco;
void main(void) {
gl_Position = vec4(2 * in_Position.x / screen_width - 1,
1 - 2 * in_Position.y / screen_height, 0., 1.);
color = in_Color;
texco = in_Texcoord;
}
|