Files
retroarch_system/system/dolphin-emu/Sys/Shaders/Passive/horizontal.glsl
Abdessamad DERRAZ 835a359cea Update : Dolphin
2021-04-20 12:56:34 +02:00

8 lines
172 B
GLSL

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