From dc8773ffe91d51f1918a7f6756b2746440d6a1b9 Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Fri, 26 Aug 2022 15:09:02 -0700 Subject: SL-17703: PBR: Fix albedo being washed out due to wrong color space. --- indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 3f21bd0219..36407065c0 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -291,7 +291,7 @@ void main() float dotBV = clamp(dot(b,v),0,1); // Reference: getMetallicRoughnessInfo - vec3 base = linear_to_srgb(diffuse.rgb); + vec3 base = diffuse.rgb; float perceptualRough = max(packedORM.g, 0.1); vec3 c_diff, reflect0, reflect90; float alphaRough, specWeight; -- cgit v1.2.3