From e5ef64b74aa4bdbb67bf2e1bf4cfce79cfb79b70 Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Tue, 5 Jul 2022 20:03:29 -0700 Subject: SL-17682: PBR: Fix occlusion 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 643b9ea20b..ca0306b24a 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -325,6 +325,7 @@ void main() #endif #if DEBUG_PBR_OCCLUSION color.rgb = vec3(packedORM.r); + color.rgb = linear_to_srgb(color.rgb); #endif #if DEBUG_PBR_ORM color.rgb = packedORM; -- cgit v1.2.3