Batocera.PLUS-bios/dolphin-emu/Sys/Shaders/nightvision.glsl

11 lines
145 B
Plaintext
Raw Normal View History

2021-08-22 20:02:14 +00:00
void main()
{
float4 c0 = Sample();
float green = c0.g;
if (c0.g < 0.50)
green = c0.r + c0.b;
SetOutput(float4(0.0, green, 0.0, 1.0));
}