diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-09-06 10:31:03 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-09-06 10:31:03 -0500 |
commit | 43cd4e84bc01abcf2820b9557abe761fbf5e8432 (patch) | |
tree | 1306bd620a37f951611a8c36837788e267065ec8 /indra/newview/app_settings/shaders/class3/environment | |
parent | 75a0719ff59118c0a5c6713e952cab4d0640a7d5 (diff) |
SL-19842 WIP -- Change how probe ambiance mixes with sky ambient.
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/environment')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/environment/waterF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class3/environment/waterF.glsl b/indra/newview/app_settings/shaders/class3/environment/waterF.glsl index 8fee259933..4f79dd1ac5 100644 --- a/indra/newview/app_settings/shaders/class3/environment/waterF.glsl +++ b/indra/newview/app_settings/shaders/class3/environment/waterF.glsl @@ -124,7 +124,7 @@ vec3 transform_normal(vec3 vNt) } void sampleReflectionProbesWater(inout vec3 ambenv, inout vec3 glossenv, - vec2 tc, vec3 pos, vec3 norm, float glossiness); + vec2 tc, vec3 pos, vec3 norm, float glossiness, vec3 amblit_linear); vec3 getPositionWithNDC(vec3 ndc); @@ -237,7 +237,7 @@ void main() vec3 irradiance = vec3(0); vec3 radiance = vec3(0); - sampleReflectionProbesWater(irradiance, radiance, distort2, pos.xyz, wave_ibl.xyz, gloss); + sampleReflectionProbesWater(irradiance, radiance, distort2, pos.xyz, wave_ibl.xyz, gloss, amblit); irradiance = vec3(0); |