summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-06-24 16:13:44 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-06-24 16:13:44 -0700
commit5cf5aa44cabf9bc142551e568c2e69954d06640f (patch)
treedfda3ec5cc7ac056175cd500bfd7e15e50b35a7f
parent4e1a4e80e4913fbe4161560591513333106b2658 (diff)
SL-17274: PBR: Fix typo of commit 4e1a4e80e4
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl
index 8cbb62b301..e4be88926f 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl
@@ -28,7 +28,7 @@
#define DEBUG_BASIC 0
#define DEBUG_VERTEX 0
#define DEBUG_NORMAL_RAW 0 // Output packed normal map "as is" to diffuse
-#dfeine DEBUG_NORMAL_OUT 0 // Output unpacked normal to diffuse
+#define DEBUG_NORMAL_OUT 0 // Output unpacked normal to diffuse
#define DEBUG_POSITION 0
uniform sampler2D diffuseMap; //always in sRGB space
@@ -137,7 +137,7 @@ void main()
col.rgb = vary_position.xyz;
#endif
- frag_data[0] = vec4(col, 0.0);
+ frag_data[0] = vec4(col, 0.0); // Diffuse
frag_data[1] = vec4(spec.rgb, vertex_color.a); // Occlusion, Roughness, Metal
frag_data[2] = vec4(encode_normal(tnorm), vertex_color.a, GBUFFER_FLAG_HAS_PBR); // normal, environment intensity, flags
frag_data[3] = vec4(emissive,0); // Emissive