From 0cbc42e89dcdeb47aaa63bb21b5fb911768ea4df Mon Sep 17 00:00:00 2001 From: Omni Date: Sun, 23 Jun 2024 17:22:36 +1000 Subject: depth map is working again --- assets/shaders/cube.frag | 1 - assets/shaders/debug_quad.frag | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'assets') 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); +} -- cgit v1.2.3-70-g09d2