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

8 lines
165 B
GLSL

// Passive (horizontal rows) shader
void main()
{
float screen_row = GetWindowResolution().y * GetCoordinates().y;
SetOutput(SampleLayer(int(screen_row) % 2));
}