/usr/share/openmsx/shaders/monitor3D.vert is in openmsx-data 0.12.0-1build1.
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 | uniform mat4 u_mvpMatrix;
uniform mat3 u_normalMatrix;
attribute vec3 a_position;
attribute vec3 a_normal;
attribute vec2 a_texCoord;
varying float v_color;
varying vec2 v_texCoord;
void main()
{
gl_Position = u_mvpMatrix * vec4(a_position, 1.0);
v_texCoord = a_texCoord;
v_color = (u_normalMatrix * a_normal).z;
}
|