summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.h
AgeCommit message (Collapse)Author
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2021-10-27SL-16127: Make another pass removing redundant LLSD op [] calls, unused ↵Ptolemy
vars, and use atmospheric already calculated
2021-10-21SL-16127: Fix bug in int() not calling getDistanceMultiplier(), calc() not ↵Ptolemy
calling getTotalDensity()
2021-10-21SL-16127: Use cached skyPtolemy
2021-10-21SL-16127: Use cache psky when possiblePtolemy
2021-10-21SL-16127: Remove unused functionsPtolemy
2020-02-25SL-12574 Cleanup unused argumentPtolemy
2019-08-28SL-11776 [EEP] Reduced frequency of sky updates by comparing data fuzzilyandreykproductengine
2019-08-22SL-11776Graham Linden
Merge both solutions preserving the simpler of the two. Will revisit to catch the new code for timeslicing updates once it is debugged.
2019-08-22SL-11776Graham Linden
Fix false alarming sky updates and doing expensive CPU work for same sky pixels.
2019-08-22SL-11776 Compensate freeze by spreading calculationsandreykproductengine
2019-08-12SL-11676Graham Linden
Make sun/moon textures render on Low/Low-Mid again. Fix solar additive being present when moon was only heavenly body in sky.
2019-07-16SL-11605Graham Linden
Fix broken throttling of sky/envmap updates.
2019-07-11Fix knock-on from touching the sky tex gen which also generated the shiny ↵Graham Linden
env map.
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-06-27SL-11151, SL-11504Graham Linden
Remove update threshold logic causing hiccups and rework sky updates. Make deferred water do double transport again to match non-ALM rendering more closely.
2019-01-24SL-10276Graham Linden
SL-9851 Fix cloud shaders to ignore clouds when cloud_scale is 0. Fix creation of heavenly body geo to avoid degenerate vector math and not randomly flip orientation when crossing zenith. Add sun_up_factor to eliminate sun glow around moon when sun is down.
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-19SL-9929Graham Linden
Replace WL atmospherics sun color calcs, fix water specular sunlight contribution to use them, and do not add moon contribution during daytime.
2018-10-05SL-1925Graham Linden
More settings for rainbow/halo atmospheric effects, final default asset UUIDs, and shader mods.
2018-10-02SL-9687Graham Linden
Make WL sky updates only update the env map (the only map used when WL shaders are in effect) to reduce the cost of generating sky textures. Update of env map only is 6ms where sky + env map is 14+ms.
2018-09-13SL-1127 fix sky tex update with EEP interpolation getting confusedGraham Linden
Disable RenderUseAdvancedAtmospherics in feature table to prevent Ultra from turning it on before its time.
2018-09-07MAINT-8988Graham Linden
Make rebuilding sky tex not look up invariant values by converting from LLSD 15 times per pixel. Set range on density multiplier to be non-zero to clamp light attenuation to sane values. Fix UI for density multiplier to include 4 decimal places and not show 0.0003 as 0.00
2018-09-04Merge and fix MAINT-9087 and MAINT-9084Graham Linden
2018-08-22MAINT-9026 hook up sun/moon scale to settingsvo and render codeGraham Linden
2018-07-19Remove optimization of building skybox as possible source of MAINT-8864Graham Linden
2018-07-10Support blending current/next bloom textures in deferred star rendering.Graham Linden
2018-07-03MAINT-8838 render a sun disc if the texture(s) are provided by WL settings ↵Graham Linden
(default is no sun disc and just haze) Refactor sky texture optimization to retain building the cubemap used by shiny.
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-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-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-08Add specific shader for the moon to allow different rendering at day vs night.Graham Linden
Add MouseMoon positioning ala MouseSun debug setting and accessors to use it.
2018-06-01Modify use of sky settings, reduce complexity, and name funcs to indicate ↵Graham Linden
coord systems in use. Fix class2 softenLightF shader.
2018-05-23MergeGraham Linden graham@lindenlab.com
2018-05-18Fix Mie Config validation in sky settings.Graham Linden graham@lindenlab.com
Start cleanup of heavenly body rendering.
2018-04-20Remove optimize pragmas necessary for working with RWDI in MSVC, but toxic ↵Graham Linden graham@lindenlab.com
to Clang.
2018-03-08Add LLVoSky wrapper for current env sky light direction.Graham Linden graham@lindenlab.com
Make LLVo classes use LLVoSky wrappers instead of direct access. Isolate more legacy haze param usage w/in settings.
2018-03-08Rename getFogColor from water and sky settings to getWaterFogColor and ↵Graham Linden graham@lindenlab.com
getSkyFogColor.
2018-03-07Isolate more legacy atmo param use in sky (convert to getLightAttenuation ↵Graham Linden graham@lindenlab.com
and getLightTransmittance). Optimize sky texture creation.
2018-03-07Move legacy atmospherics code outside of llvosky (begin teasing apart).Graham Linden graham@lindenlab.com
2018-03-02Replace ifdefs with comments marking legacy atmo params.Graham Linden graham@lindenlab.com
2018-02-28Add 3p package for adv atmospherics to autobuild.Graham Linden graham@lindenlab.com
Mark legacy atmospherics code with ifdefs. Fix up legacy uplift to include new atmospherics settings.
2017-11-13Clean up on sun and moonRider Linden
2017-10-05Skys settings object active.Rider Linden
2017-09-29Moon is showing, sun still not working.Rider Linden
2017-09-27No longer 'goth windlight only', sky parameters passed from settings object.Rider Linden
2016-04-22x64: Do not use a union of LLColor4U. Especially having the two pointer in ↵Nicky
there will blow up the struct to at least 8 byte, which will break VBO packing as this class needs to be 4 byte in size. (transplanted from 847df86d6b5daa69dcfc428df18876a9c1e8bef6)
2015-11-10remove execute permission from many files that should not have itOz Linden
2013-10-25SH-3419 Replace per-object time dilation factor with region-wideAndrew Meadows
Reviewed with Simon
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz