Files
libretro/bios/Nintendo/GameCube/Sys/Shaders/Passive/horizontal.glsl
2026-03-17 11:53:42 +01: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));
}