/usr/share/openmsx/shaders/default.frag is in openmsx-data 0.14.0-2.
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 sampler2D tex;
uniform sampler2D videoTex;
varying vec2 texCoord;
varying vec2 videoCoord;
void main()
{
#if SUPERIMPOSE
vec4 col = texture2D(tex, texCoord);
vec4 vid = texture2D(videoTex, videoCoord);
gl_FragColor = mix(vid, col, col.a);
#else
gl_FragColor = texture2D(tex, texCoord);
#endif
}
|