Batocera.PLUS-bios/dolphin-emu/Sys/Shaders/Passive/horizontal.glsl

8 lines
165 B
Plaintext
Raw Normal View History

2021-08-22 20:02:14 +00:00
// Passive (horizontal rows) shader
void main()
{
float screen_row = GetWindowResolution().y * GetCoordinates().y;
SetOutput(SampleLayer(int(screen_row) % 2));
}