summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolwlsky.cpp
AgeCommit message (Collapse)Author
2018-10-30SL-9976 change moon blend/brightness handling in shaders and cleanup ↵Graham Linden
extraneous GL state management.
2018-10-30SL-9966Graham Linden
Port over transport, gamma, atmospherics shader stub updates for per-fragment atmospherics. Fix bindings of current/next noise map when current and next are the same (select only one and force blend factor to 0).
2018-10-30SL-9766 Move up blend_factor init so we can override if we're short of ↵Graham Linden
blendable noise maps.
2018-10-30SL-9966 fix cloud noise map bindings when current and next are identical.Graham Linden
2018-10-29SL-9977Graham Linden
SL-9973
2018-10-22SL-9806Graham Linden
Get dome rendering to not assert the depth test state behind deferred render's back. Make clouds write and test depth to give stars something to depth test against. Add z-bias in star vert shader to force some depth testing of stars against clouds.
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-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-10-01SL-1655Graham Linden
Make water horizon consistent between ALM and non-ALM rendering again. Fix using deferred sky rendering in reflections. Make matrix mode explicit around push/pop for safety.
2018-09-18SL-1475Graham Linden
Make stars use higher alpha and brighten reflected color before mixing to get stars to show up in reflections on water.
2018-09-17SL-1873Graham Linden
Make range of star brightness in code and in UI 0-500 (not 512).
2018-09-12SL-9635 remove init of libatmosphere causing crashes on Intel HDGraham Linden
2018-09-11Fix cloud shader tex binding to be more robust.Graham Linden
Make vert generation not skip dome verts used for clouds when doing advanced atmospherics.
2018-09-10Fixes for switching between atmospherics implementations on the fly.Graham Linden
2018-09-10First pass at preferences and feature table hookup for advanced atmospherics.Graham Linden
2018-09-07Fix createDensityProfileLayer dropping passed in values.Graham Linden
Enable sky density panel to update advanced atmo precomputed textures. Take wild stab at appropriate ranges for density parameters in edit panel UI. Clean up debug-only code that isn't necessary anymore. Point autobuild at latest version of libatmosphere package.
2018-09-06Fix tex format mismatch between what libatmosphere was generating and what ↵Graham Linden
we were claiming to use in rendering. First pass at sky shader using libatmosphere sky radiance lookup. Add atmo density controls to ext daycycle floater tabs.
2018-09-04MergeGraham Linden
2018-09-048283/4 WIPGraham Linden
2018-09-04Merge and fix MAINT-9087 and MAINT-9084Graham Linden
2018-09-04MAINT-9064 One more fix for crash caused by new shader callsmaxim_productengine
2018-08-31Merged in graham_linden/viewer-eep-graham (pull request #65)Rider Linden
MAINT-8983
2018-08-31Null out shader pointers after passes are complete (prevents them being ↵Graham Linden
non-null and masking crashes when graphics prefs change).
2018-08-31MAINT-9064 Fix crash caused by new shader callsandreykproductengine
2018-08-30MAINT-9064Graham Linden
Fix binding of current/next sun/moon textures. Remove redundant code in GLSLShader determination of tex uniform bindings. Unhack mix calls in sun/moon shaders to reverse sense of blending (was working around reversed bindings).
2018-08-23MAINT-9006Graham Linden
Make perspective projection consistent between ALM and non-ALM when drawing water (horizon matches). Make perspective projection consistent between ALM and non-ALM when drawing heavenly bodies (sun disc position matches). Make gamma correction of sun disc tex consistent between ALM and non-ALM rendering.
2018-07-10Support blending current/next bloom textures in deferred star rendering.Graham Linden
2018-07-10Fix star rendering issues in ALM.Graham Linden
2018-07-09Restore setting the inv proj matrix for advanced atmo render path.Graham Linden
Set nSight debug setting to 0 to fix ALM snapshots. Add popMatrix call to balance push around heavenly body rendering in ALM and fix mat stack overflow.
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-30MAINT-4019 fix ALM star rendering (make post-deferred and actually blend)Graham Linden
2018-06-27Make distinct ALM moon shader, tweak mix factor for day vs night moon ↵Graham Linden
shading, and fix transposed name of daycycle func.
2018-06-27Fix non-ALM render path to bind the 2nd moon texture (and not blend with the ↵Graham Linden
default square). Also fixes MAINT-3962, ALM and non-ALM moon shading should be identical.
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-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-05Fix sunlight != sunlight_color_copy and remove hack disable of clouds.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-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-01Le MergeGraham Linden graham@lindenlab.com
2018-04-26Mods to make adv atmo WL sky render using 2 tris instead of dome.Graham Linden graham@lindenlab.com
2018-02-22Add settings/validations for new advanced atmo settings.Graham Linden graham@lindenlab.com
2018-02-18Atmospherics WIPGraham Linden graham@lindenlab.com
libatmosphere integrated in indra/llrender/llatmosphere.cpp Still working on runtime shaders to use libatmosphere precomputed atmospherics textures
2017-11-13Remove the old wl environment code.Rider Linden
2017-09-27No longer 'goth windlight only', sky parameters passed from settings object.Rider Linden