From 36a7a424a9008ff3b29aafc172969bc17bf1d024 Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Tue, 5 Jul 2022 08:23:17 -0700 Subject: SL-17682: PBR: Fix debug fresnel roughness 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') diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index e787b5d41d..643b9ea20b 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -395,6 +395,7 @@ void main() #endif #if DEBUG_PBR_FRESNEL color.rgb = fresnelR; + color.rgb = srgb_to_linear(color.rgb); #endif #if DEBUG_PBR_IOR color.rgb = vec3(IOR); -- cgit v1.2.3