Files
Abdessamad DERRAZ 86a6843a3b Dolphin : Update
2021-10-17 20:34:00 +02:00

8 lines
165 B
GLSL

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