diff options
author | Dave Houlton <euclid@lindenlab.com> | 2020-06-08 15:47:41 -0600 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2020-06-08 15:47:41 -0600 |
commit | 3d872fb21f089ce06da576ee08660a0245262cc5 (patch) | |
tree | 8d3096e4cdfd9748ef1db7397229581102c6a4e7 /indra/newview/app_settings/shaders/class1/deferred | |
parent | afb9c52a00d91c674d1cc48a7b16dd7e2db8cf8f (diff) |
SL-13281, add missing srgb->linear conversion for specular
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/multiPointLightF.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/multiPointLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/multiPointLightF.glsl index 0d1cc81786..c6afda375c 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/multiPointLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/multiPointLightF.glsl @@ -77,6 +77,7 @@ void main() vec3 norm = getNorm(frag.xy); vec4 spec = texture2DRect(specularRect, frag.xy); + spec.rgb = srgb_to_linear(spec.rgb); vec3 diff = texture2DRect(diffuseRect, frag.xy).rgb; diff.rgb = srgb_to_linear(diff.rgb); |