summaryrefslogtreecommitdiff
path: root/assets/shaders/shadows.frag
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/shadows.frag')
-rw-r--r--assets/shaders/shadows.frag5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/shaders/shadows.frag b/assets/shaders/shadows.frag
new file mode 100644
index 0000000..0876b66
--- /dev/null
+++ b/assets/shaders/shadows.frag
@@ -0,0 +1,5 @@
+#version 410 core
+
+void main() {
+ gl_FragDepth = gl_FragCoord.z;
+} \ No newline at end of file