diff options
| author | Dave Parks <davep@lindenlab.com> | 2023-01-30 18:56:19 -0600 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2023-01-30 18:56:19 -0600 |
| commit | 10b8dcc497599042655dcc4037c9ae98d494bd6f (patch) | |
| tree | 7a3cfb43aad02f032d82d3d2fcbc52ecd0feaac0 /indra/newview/llviewerdisplay.cpp | |
| parent | 3ef31cb9b28f7b026e109eab69d383dddc922850 (diff) | |
SL-19015 Bump probe resolution back to 256 by default (drop to 128 if vram < 2GB), remove irradiance map feedback loop (one bounce, but but more stable and allows for much brighter first bounce), make sky contribution to irradiance not tint the world blue. Make irradiance that appears in radiance maps match world irradiance.
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
| -rw-r--r-- | indra/newview/llviewerdisplay.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index 497b2373da..28d6267029 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -1017,6 +1017,12 @@ void display_cube_face() display_update_camera(); + { + LL_PROFILE_ZONE_NAMED_CATEGORY_DISPLAY("Env Update"); + // update all the sky/atmospheric/water settings + LLEnvironment::instance().update(LLViewerCamera::getInstance()); + } + LLSpatialGroup::sNoDelete = TRUE; S32 occlusion = LLPipeline::sUseOcclusion; |
