diff options
author | Dave Houlton <euclid@lindenlab.com> | 2020-06-08 15:47:41 -0600 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2020-06-11 23:33:14 +0300 |
commit | 84d30655967fa29cc800783db2cd43df6f28d35e (patch) | |
tree | a1a97ffa5648a60fe19920e8e5f83f9f2673b539 /indra/newview/app_settings | |
parent | e1ea8eb7738c2f9a6762dd8c6c22de00607e8ba2 (diff) |
SL-13281, add missing srgb->linear conversion for specular
Diffstat (limited to 'indra/newview/app_settings')
-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); |