diff options
author | Omni <omniscient.oce@gmail.com> | 2024-06-22 23:06:19 +1000 |
---|---|---|
committer | Omni <omniscient.oce@gmail.com> | 2024-06-22 23:06:19 +1000 |
commit | 39e7122b5cd1e0d56a4a7cfd3c4114032d14e9b6 (patch) | |
tree | b879e9796146f2a1d57cf9d44cfb3a6991b5d8cc /assets/shaders/shadows.frag | |
parent | a2b43f8f93365874ba46dfaacd59df9e197c32e7 (diff) |
creating shadowmap pipeline
Diffstat (limited to 'assets/shaders/shadows.frag')
-rw-r--r-- | assets/shaders/shadows.frag | 5 |
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 |