diff options
Diffstat (limited to 'Data/Sys')
| -rw-r--r-- | Data/Sys/Shaders/Passive/horizontal.glsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Data/Sys/Shaders/Passive/horizontal.glsl b/Data/Sys/Shaders/Passive/horizontal.glsl new file mode 100644 index 0000000000..7b2535bbf0 --- /dev/null +++ b/Data/Sys/Shaders/Passive/horizontal.glsl @@ -0,0 +1,7 @@ +// Passive (horizontal rows) shader + +void main() +{ + float screen_row = GetWindowResolution().y * GetCoordinates().y; + SetOutput(SampleLayer(int(screen_row) % 2)); +} |
