aboutsummaryrefslogtreecommitdiff
path: root/shaders/glsl100/cross_hatching.fs
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/glsl100/cross_hatching.fs')
-rw-r--r--shaders/glsl100/cross_hatching.fs5
1 files changed, 4 insertions, 1 deletions
diff --git a/shaders/glsl100/cross_hatching.fs b/shaders/glsl100/cross_hatching.fs
index cf01b65e..1f7dab08 100644
--- a/shaders/glsl100/cross_hatching.fs
+++ b/shaders/glsl100/cross_hatching.fs
@@ -2,12 +2,15 @@
precision mediump float;
+// Input vertex attributes (from vertex shader)
varying vec2 fragTexCoord;
+varying vec4 fragColor;
+// Input uniform values
uniform sampler2D texture0;
uniform vec4 fragTintColor;
-// NOTE: Add here your custom variables
+// NOTE: Add here your custom variables
float hatchOffsetY = 5.0f;
float lumThreshold01 = 0.9f;