diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2022-07-05 20:03:54 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2022-07-05 20:03:54 -0700 |
commit | bcd630cad91cdcf5f188d3ea9ad69bb7df1eb86c (patch) | |
tree | 827f857f241c0da5c6374b6570ab1a653c3f25fa /indra/newview/app_settings/shaders/class3 | |
parent | e5ef64b74aa4bdbb67bf2e1bf4cfce79cfb79b70 (diff) |
SL-17682: PBR: Fix roughness debug output to match glTF Sample Viewer
Diffstat (limited to 'indra/newview/app_settings/shaders/class3')
-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 ca0306b24a..8b9c8aff92 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -332,6 +332,7 @@ void main() #endif #if DEBUG_PBR_ROUGH_PERCEPTUAL color.rgb = vec3(perceptualRough); + color.rgb = linear_to_srgb(color.rgb); #endif #if DEBUG_PBR_ROUGH_ALPHA color.rgb = vec3(alphaRough); |