Batocera.PLUS-bios/dolphin-emu/Sys/Shaders/nightvision.glsl
2021-08-22 17:02:14 -03:00

11 lines
145 B
GLSL
Executable File

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));
}