/usr/share/openmsx/shaders/superImpose.frag is in openmsx-data 0.10.0-1ubuntu1.
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 | uniform sampler2D tex;
uniform sampler2D videoTex;
varying vec2 texCoord;
varying vec2 videoCoord;
void main()
{
vec4 col = texture2D(tex, texCoord);
vec4 vid = texture2D(videoTex, videoCoord);
gl_FragColor = mix(vid, col, col.a);
}
|