diff options
author | Dave Parks <davep@lindenlab.com> | 2022-06-03 11:36:37 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-06-03 11:36:37 -0500 |
commit | a185fae28d7e035226d4b5f7c350f94830001b06 (patch) | |
tree | b3372f22c5d73c3208f816482de80c376fe30e70 /indra | |
parent | 619fb2eed5d6c6e341a9ab179bb94aa33ec7fcd0 (diff) |
SL-17285 Build fix take two.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llprimitive/llprimitive.cpp | 2 | ||||
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/indra/llprimitive/llprimitive.cpp b/indra/llprimitive/llprimitive.cpp index 87a78eb447..6044048d09 100644 --- a/indra/llprimitive/llprimitive.cpp +++ b/indra/llprimitive/llprimitive.cpp @@ -1886,7 +1886,7 @@ LLSD LLReflectionProbeParams::asLLSD() const LLSD sd; sd["ambiance"] = getAmbiance(); sd["clip_distance"] = getClipDistance(); - sd["volume_type"] = getVolumeType(); + sd["volume_type"] = (U8) getVolumeType(); return sd; } diff --git a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl index edb78f114b..3fd001e7f5 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl @@ -473,3 +473,4 @@ void applyGlossEnv(inout vec3 color, vec3 glossenv, vec4 spec, vec3 pos, vec3 no reflected_color *= (envIntensity*fresnel)*brighten(spec.rgb); color = mix(color.rgb, reflected_color, envIntensity); } + |