diff options
Diffstat (limited to 'shaders/anholt/shadowmap_display.frag')
-rw-r--r-- | shaders/anholt/shadowmap_display.frag | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shaders/anholt/shadowmap_display.frag b/shaders/anholt/shadowmap_display.frag new file mode 100644 index 0000000..8db3446 --- /dev/null +++ b/shaders/anholt/shadowmap_display.frag @@ -0,0 +1,7 @@ +uniform sampler2D shadow_sampler; +varying vec2 texcoord; + +void main() +{ + gl_FragColor = texture2D(shadow_sampler, texcoord); +} |