OXYGENHUB
◆ main openmsx / share / shaders / default.vert
303 B · last changed chore(): initial commit 1 month ago source blame history raw
1
uniform mat4 u_mvpMatrix;
2
uniform vec3 texSize; // not used
3
4
attribute vec4 a_position;
5
attribute vec3 a_texCoord;
6
7
varying vec2 texCoord;
8
varying vec2 videoCoord;
9
10
void main()
11
{
12
	gl_Position = u_mvpMatrix * a_position;
13
	texCoord   = a_texCoord.xy;
14
#if SUPERIMPOSE
15
	videoCoord = a_texCoord.xz;
16
#endif
17
}