diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2022-07-05 20:05:09 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2022-07-05 20:05:09 -0700 |
commit | 7537b3d5456f989859142d1d3340dae65d407cef (patch) | |
tree | 441690a6a4fa9ef07c9603c091349c5561f66345 | |
parent | bcd630cad91cdcf5f188d3ea9ad69bb7df1eb86c (diff) |
SL-17682: PBR: Fix metal debug 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 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); |