summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingssky.h
AgeCommit message (Collapse)Author
2024-06-11Clean up line endings that got mangled up during last mergeAnsariel
2024-04-02#854 Fix for skies that shouldn't be auto-adjusted getting auto-adjusted. ↵RunitaiLinden
(#1115)
2023-08-22SL-19842 WIP -- Move sky auto adjustment magic numbers to debug settings.RunitaiLinden
2023-06-01DRTVWR-559 Revert skies to be very close to release and disable tone mapping ↵RunitaiLinden
when probe ambiance is zero. Hack for desaturating legacy materials has been removed for performance and quality reasons. Adds a new setting for auto adjusting legacy skies. This is the PBR "opt out" button. If disabled, legacy skies will disable tonemapping, automatic probe ambiance, and HDR/exposure. If enabled, legacy skies will behave as if probe ambiance and HDR scale are 1.0, and ambient will be cut in half. HDR scale will act as a sky brightener, but will automatically adjust dynamic exposure so the sky will be properly exposed. If you want relatively even exposure all the time, set HDR Scale to 1.0. If you want a high range of exposures between indoor/dark areas and outdoor/bright areas, increase HDR Scale. Also tuned up SSAO (thanks Rye!). Reviewed with Brad.
2023-02-07SL-18780 Turn down contribution of cloud shadow to reflection probe ambiance ↵Dave Parks
and make the value a debug setting.
2022-12-16SL-18780 Feedback cloud coverage into reflection probe ambiance to recover ↵Dave Parks
legacy behavior of cloud coverage brightening ambient lighting without destroying the ability to have good probe driven ambiance.
2022-06-10SL-17523 Add reflection probe ambiance to windlight settings and integrate ↵Dave Parks
with UI and ReflectionMapManager
2021-10-27SL-16127: Make another pass removing redundant LLSD op [] calls, unused ↵Ptolemy
vars, and use atmospheric already calculated
2021-10-21SL-16127: Replace slow getLightTransmittance with faster versionPtolemy
2019-08-22SL-11776Graham Linden
Fix false alarming sky updates and doing expensive CPU work for same sky pixels.
2019-07-10SL-11541 WIPGraham Linden
Make LLSettingsSky::gammaCorrect work like the soft scale clip and gamma correct from release. Add transmittance effects to the low-end sky tex gen.
2019-05-29SL-10969Graham Linden
Modify ambient handling and forward projector lighting again to stamp out alpha fires.
2019-05-21SL-11238Graham Linden
Fix ambient light inputs to the renderer. Fix 3rd sky shader w/ mistaken density mod conversion. Make ambient clamp apply to all modes. Tune ALM ambient clamp to match non-ALM.
2019-04-22Fix mismatch between release and EEP in sunlight and ambient color from ↵Graham Linden
settings.
2019-04-08SL-10912Graham Linden
Fix conversion of star brightness, density mult, and distance mult to legacy ranges. Make settings look in both legacyhaze and top-level settings for haze params.
2019-02-06SL-10478Graham Linden
Fix side-effects of having both sun and moon as potential directional light contributors. We pass an int to the shader indicating which to prefer instead of making per-pixel decisions and pass the moonlight color/di independently. Obsolete llsettingssky fade color which was unused elsewhere and cached for no reason.
2019-02-01SL-9996, SL-1130, SL-5546Graham Linden
Fix bug with setting texture matrix for rigged mesh. Fix z-fighting between sea and sky in ALM by cheating sky, stars, and moon using gl_FragDepth. Fix handling of atmospheric haze glow w.r.t independent sun/moon positioning (we can no longer depend on them being mutex to each other).
2019-01-22SL-10387: Inject individual settings. Still freezes parcel/region settings.Rider Linden
2019-01-22SL-10387: Move settings intjection to a setting object (and out of ↵Rider Linden
llEnvironment)
2018-12-12MergeRider Linden
2018-12-12SL-10238: Viewer spport for push notifications from the simulator contaiting ↵Rider Linden
partial groups of settings. Blend these settings into the current environment.
2018-12-03SL-10055Graham Linden
Modify handling of directional light to prefer sun when it is up but use moon dir/color when it is alone in the sky. Modify handling of shader in shaders to get some shadowing of ambient and nighttime shadowing.
2018-10-09SL-1289Graham Linden
add cloud_variance control for randomized perturbance of clouds to break up tiling monotony
2018-10-08SL-9751Graham Linden
Add optional moon brightness setting
2018-10-05SL-1925Graham Linden
More settings for rainbow/halo atmospheric effects, final default asset UUIDs, and shader mods.
2018-10-02Add LUT textures and optional settings for moisture/ice level to sky settings.Graham Linden
2018-08-29Hook up sky density panel to fixedenv and edit_ext_daycycle UI.Graham Linden
Fix retrieving LLSD for density configs (element not array) in density UI. Tweak layout of sky density controls.
2018-08-22Merge 5.1.9Graham Linden
2018-08-22Fix up dropped new funcs for settings density profile configs in sky settings.Graham Linden
2018-08-21MAINT-9026: Adding scale for sun and moon. Also don't allow the user to ↵Rider Linden
directly set the radio buttons for inventory and custom.
2018-08-21MergeGraham Linden
2018-08-16Make settings vfuncs use SETTINGS_OVERRIDE macro (override keyword in viewer ↵Graham Linden
codebase) to fix OS X compilation. Mark cloning funcs and derived class overrides as const.
2018-08-14MergeGraham Linden
2018-08-09Adjust layout of sunmoon panel and size of ext day edit. Blank sun texture. ↵Rider Linden
Fix edit and transition in edit day cycle. Fix default and blank images in sky textures.
2018-08-06WIP check-in to allow merge of upstream changes.Graham Linden
2018-07-16Add default and wellknown asset ids.Rider Linden
2018-07-10Support blending current/next bloom textures in deferred star rendering.Graham Linden
2018-06-21Fix double-def of IMG_BLOOM1 from pulling over server change not needed in ↵Graham Linden
viewer code. Make viewer code use LLSettingsSky static func to hide indraconstants dep.
2018-06-15Make water and sky defaults take a position value to allow for default ↵Graham Linden
daycycle w/ multiple frames. Make default daycycle add 8 frames at 0, 0.125, 0.25 etc Merge over server-side bugfixes. Eliminate extraneous dirty bits in sky settings.
2018-06-13Mods to hook up water settings to water normals for rendering with support ↵Graham Linden
for current to next blending. Modify LLSettingsFoo::buildDefaultFoo to use a static and avoid re-validation of default sky/water/daycycle settings. Remove all references to gSun/MoonTextureId globals (they should come from sky settings now).
2018-06-12Fix env panel forward action.Graham Linden
Make env panel update environment when jumping frame to frame. Add separate funcs for sun/moon vectors in various coord systems. Make haze glow only pay attention to sun (i.e. fix sun glow when moon is near horizon in daytime).
2018-06-11Remove debug pragma and put setMoonRotation back in the header file.Graham Linden
2018-06-11Make cloud rendering use textures defined in sky settings and add code to ↵Graham Linden
shaders to lerp between current and next cloud texture.
2018-06-11MergeGraham Linden
2018-06-11Fix water fog consolidation in underwater shaders.Graham Linden
Add plumbing facilities to allow current and next moon textures to be passed to moon shader. Modify moon shader to blend between current and next moon textures by blend factor.
2018-06-08Settings inventory picker.Rider Linden
2018-06-02Use more typedefs to simplify sync between viewer and sim env settings code.Graham Linden
2018-06-02MergeGraham Linden
2018-06-01Rework preset loading and context menu from inventory.Rider Linden
2018-06-01Mark LLSettingsSky::skipInterpolateKeys as override to silence Clang fail.Graham Linden