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

8 lines
165 B
GLSL
Executable File

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