diff options
author | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2023-09-08 15:54:52 -0700 |
---|---|---|
committer | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2023-09-08 15:54:52 -0700 |
commit | 25aee5e983a8de712565d8241cbdb18da832a4d1 (patch) | |
tree | a5fbb737399e768c7eff2f38bf224c881ae91887 /indra/newview/app_settings/shaders | |
parent | 32d1984bf98dce6e4938534342e67dbc40fbb073 (diff) |
Some more modes for mirrors to place the probe.
DRTVWR-583
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 3 |
1 files changed, 3 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 742b52b074..2483355205 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -280,6 +280,9 @@ void main() // add radiance map applyGlossEnv(color, glossenv, spec, pos.xyz, norm.xyz); + + color = textureLod(heroProbes, vec4(env_mat * refnormpersp, 0), (1.0 - spec.a) * 11).xyz * spec.rgb; + } color.rgb = mix(color.rgb, baseColor.rgb, baseColor.a); |