Files
retroarch_system/system/dolphin-emu/Sys/Shaders/chrismas.glsl
Abdessamad DERRAZ d9fc3b32f0 RetroArch Pack
2020-05-08 17:25:48 +02:00

14 lines
211 B
GLSL

void main()
{
float4 c0 = Sample();
float red = 0.0;
float green = 0.0;
if (c0.r < 0.35 || c0.b > 0.35)
green = c0.g + (c0.b / 2.0);
else
red = c0.r + 0.4;
SetOutput(float4(red, green, 0.0, 1.0));
}