summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
AgeCommit message (Collapse)Author
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-10-02SL-9775Graham Linden
Add LLPointer<> on stack to avoid textures being deleted out from under the sky code. Make textures used by sky settings remove their faces from media textures. Add ability to detect when a given texture is viewer media with vfunc.
2018-09-13Remove optimize pragma for macRider Linden
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-04Put back less debuggable but more terse accum of update conditions.Graham Linden
2018-09-04Remove MSVC debug pragmas.Graham Linden
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-08-07Protect sky code from (extremely unlikely yet still possible) lack of sky ↵Graham Linden
settings.
2018-07-19Remove optimization of building skybox as possible source of MAINT-8864Graham Linden
2018-07-11Make moon/star rendering handle transitions between settings w defined ↵Graham Linden
textures and settings without better. Reverse direction of mix to match blend_factor values in stars shader.
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-28MergeRider Linden
2018-06-26Remove unnecessary coord sys transformation to fix moon positioning.Graham Linden
Avoid doing sky texture generation when using atmospherics shaders (which don't need that texture anyway).
2018-06-25Adding pause clouds to menu, and throttling expensive visual update on change.Rider 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-19Don't recalculate lighting every frame. Fix altitude transitions. On track ↵Rider Linden
switch ignore time threshold on blender.
2018-06-19Adding some timers for trackingRider Linden
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-01Fix mis-merge of LLSettingsBase and remove optimize pragmas.Graham Linden
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-21Make rendering of sun / moon work with both in the sky (test visibility ↵Graham Linden graham@lindenlab.com
independently).
2018-05-18Remove no longer used var hosing OSX build.Graham Linden graham@lindenlab.com
2018-05-18Remove MSVC debug pragmas and comment out code to dump example grids.xml ↵Graham Linden graham@lindenlab.com
file w/ hard-coded grids.
2018-05-18Make nighttime elev constant _SIN, since it uses a sin value.Graham Linden graham@lindenlab.com
Put that constant in sky settings and eliminate dups. Fix up logic around when to use heavenly bodies (fix broken moon in basic sky). Remove unnecessary clip to horizon. Put in temp code to ena/dis sun/moon based on LLEnvironment::getIsDaytime().
2018-05-18Fix Mie Config validation in sky settings.Graham Linden graham@lindenlab.com
Start cleanup of heavenly body rendering.
2018-05-16Merge and disable new sky render.Graham Linden graham@lindenlab.com
2018-05-15Fix the blend code to record the amount of the blend and to store what is ↵Rider Linden
being blended towards.
2018-03-08Get libatmosphere shader into link chain for Adv WL shaders.Graham Linden graham@lindenlab.com
Point autobuild at fixed libatmosphere.
2018-03-08Prepare for validation and storage of legacy haze settings (still ↵Graham Linden graham@lindenlab.com
pass-through for now). Isolate more use of legacy haze params behind wrapper funcs.
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-03Fix 16F enum for compat w/ SL gl headers on Mac.Graham Linden graham@lindenlab.com
Make density profile/layer parsing handle when LLSD heard you liked arrays so it put an array in your array.
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-30MergeRider Linden
2017-11-29DRTVWR-418: Merge from latest viewer-releaseNat Goodspeed
2017-11-17Now with validation.Rider Linden
2017-11-13Clean up on sun and moonRider Linden
2017-11-13Remove the old wl environment code.Rider Linden
2017-11-01MAINT-7228 Vertex buffer allocation failure handlingandreykproductengine