summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorOmni <omniscient.oce@gmail.com>2024-06-23 17:22:36 +1000
committerOmni <omniscient.oce@gmail.com>2024-06-23 17:22:36 +1000
commit0cbc42e89dcdeb47aaa63bb21b5fb911768ea4df (patch)
treeb28c0bf40d03bcda86289ef42e8df8ad67539fdd /assets
parent17f0db6607534c5bf1ba96153fabd3fdbb399ed9 (diff)
depth map is working again
Diffstat (limited to 'assets')
-rw-r--r--assets/shaders/cube.frag1
-rw-r--r--assets/shaders/debug_quad.frag3
2 files changed, 2 insertions, 2 deletions
diff --git a/assets/shaders/cube.frag b/assets/shaders/cube.frag
index cd6bb21..a405e6a 100644
--- a/assets/shaders/cube.frag
+++ b/assets/shaders/cube.frag
@@ -4,7 +4,6 @@ layout(location = 0) in vec3 fragColor;
layout(location = 1) in vec2 fragTexCoord;
uniform sampler2D texSampler;
-// uniform sampler2D texSampler;
layout(location = 0) out vec4 outColor;
diff --git a/assets/shaders/debug_quad.frag b/assets/shaders/debug_quad.frag
index ac7842d..877b26a 100644
--- a/assets/shaders/debug_quad.frag
+++ b/assets/shaders/debug_quad.frag
@@ -9,4 +9,5 @@ void main()
{
float depthValue = texture(depthMap, TexCoords).r;
FragColor = vec4(vec3(depthValue), 1.0); // orthographic
-} \ No newline at end of file
+ //FragColor = vec4(1.0);
+}