From 7537b3d5456f989859142d1d3340dae65d407cef Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Tue, 5 Jul 2022 20:05:09 -0700 Subject: SL-17682: PBR: Fix metal debug output to match glTF Sample Viewer --- indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/app_settings/shaders/class3/deferred') diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index 8b9c8aff92..139a1c274e 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -322,6 +322,7 @@ void main() #endif #if DEBUG_PBR_METAL color.rgb = vec3(metal); + color.rgb = linear_to_srgb(color.rgb); #endif #if DEBUG_PBR_OCCLUSION color.rgb = vec3(packedORM.r); -- cgit v1.2.3