diff options
| author | raysan5 <raysan5@gmail.com> | 2016-05-18 12:04:27 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-05-18 12:04:27 +0200 |
| commit | bc08271da3e68d2880f4ef712c13e88b99f1021d (patch) | |
| tree | a2b3fb728de4984a12b97728491205613e3c951b /shaders/glsl100/cross_hatching.fs | |
| parent | 0e29aa2951fe11e9d0fabec2182ed6309fce37bb (diff) | |
| download | raylib-bc08271da3e68d2880f4ef712c13e88b99f1021d.tar.gz raylib-bc08271da3e68d2880f4ef712c13e88b99f1021d.zip | |
Updated shaders with comments
Diffstat (limited to 'shaders/glsl100/cross_hatching.fs')
| -rw-r--r-- | shaders/glsl100/cross_hatching.fs | 5 |
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; |
