From 78fbaa82b3968ee5f003a97cdf0fca74bd702e9e Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Fri, 30 Dec 2022 16:26:32 +0000 Subject: [PATCH] Fixed ViewNormals --- assets/voxygen/shaders/clouds-frag.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/voxygen/shaders/clouds-frag.glsl b/assets/voxygen/shaders/clouds-frag.glsl index 51797bec5c..763b5f001c 100644 --- a/assets/voxygen/shaders/clouds-frag.glsl +++ b/assets/voxygen/shaders/clouds-frag.glsl @@ -86,7 +86,7 @@ void main() { uvec4 mat = texelFetch(usampler2D(t_src_mat, s_src_depth), clamp(ivec2(uv * mat_sz), ivec2(0), ivec2(mat_sz) - 1), 0); #ifdef EXPERIMENTAL_VIEWNORMALS - color.rgb = vec3(mat.xyz) / 255.0; + tgt_color = vec4(vec3(mat.xyz) / 255.0, 1); return; #endif