diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2022-07-05 08:22:58 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2022-07-05 08:22:58 -0700 |
commit | e2879eaf99cf4ce46bddebe1fc6b38b72f000bad (patch) | |
tree | efdd1e13515170e3610b8d8419dd9e242f529071 | |
parent | 49c923bf3ce941b62110a537709b9bf5a368be7a (diff) |
SL-17682: PBR: Fix debug BRDF uv output to match glTF Sample Viewer
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index e5f5901e18..e787b5d41d 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -361,6 +361,7 @@ void main() #endif #if DEBUG_PBR_BRDF_UV color.rgb = vec3(brdfPoint,0.0); + color.rgb = linear_to_srgb(color.rgb); #endif #if DEBUG_PBR_BRDF_SCALE_BIAS color.rgb = vec3(vScaleBias,0.0); |