summaryrefslogtreecommitdiff
path: root/Data/Sys/Shaders/Passive/horizontal.glsl
blob: 7b2535bbf0917d7c00a3641c7df2fc2a091d954e (plain)
1
2
3
4
5
6
7
// Passive (horizontal rows) shader

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