8 lines
165 B
GLSL
Executable File
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));
|
|
}
|