mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-11 05:53:23 -05:00
15 lines
261 B
Plaintext
15 lines
261 B
Plaintext
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
varying vec2 v_texCoord;
|
|
uniform sampler2D Frame;
|
|
|
|
void main()
|
|
{
|
|
vec4 fragColor = texture2D(Frame, v_texCoord);
|
|
float FragColor = dot(fragColor, vec4( 0.299, 0.587, 0.114, 0.0 ));
|
|
gl_FragColor = vec4(FragColor);
|
|
}
|
|
|
|
|