summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2023-07-18 00:14:34 -0700
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2023-07-18 00:14:34 -0700
commit3d73326516c73f880f46e28f14b6c515307ede91 (patch)
treedf87cd6d98a2ca5e46f7fc53f1841736fd23ade7 /indra/newview/app_settings/shaders
parent040050af19ff7b5b2f5dc5ce5c4b68cfbb7e492a (diff)
Fix for irradiance breaking.
Still need to fix the problem with individual faces getting tossed around though. Will work on that tomorrow. DRTVWR-583
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
index d8118fab82..0152c0612a 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
@@ -217,6 +217,7 @@ void main()
{
color = atmosFragLightingLinear(color, additive, atten);
}
+ color = texture(heroProbes, vec4(norm.xyz * env_mat, 0), 0).xyz;
}
else if (!GET_GBUFFER_FLAG(GBUFFER_FLAG_HAS_ATMOS))
{
@@ -291,9 +292,7 @@ void main()
color = atmosFragLightingLinear(color, additive, atten);
}
}
-
-
#ifdef WATER_FOG
vec4 fogged = applyWaterFogViewLinear(pos.xyz, vec4(color, bloom));
color = fogged.rgb;