libretro-dolphin/Data/Sys/Shaders/Passive/horizontal.glsl

8 lines
165 B
GLSL

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