summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolwlsky.cpp
AgeCommit message (Collapse)Author
2019-03-29Tweaked naming a bit, also white space.Geenz
Will wait for a response from @graham_linden regarding moving the sRGB conversion functions in llmath.h to llrender.
2019-03-29Back out a couple of not-so-well tested changes.Geenz
2019-03-29Gamma correction pass 2:Geenz
Make sure lights are in the correct color space. Bonus: cache the sRGB color in setLightColor on point and spot lights. Frees up a pow and some multiplies on the CPU every frame.
2019-03-14Remove unused cloud shadow shader var for Clang.Graham Linden
2019-03-13Mods to make merge with viewer-release have less whitespace-only change and ↵Graham Linden
fix diffs between EEP and VR.
2019-03-04Fix line-endings.Graham Linden
2019-03-02SL-10664Graham Linden
2019-02-13SL-10181, SL-10546Graham Linden
Fix distortion map rendering in deferred mode not including underwater fog effects. Fix distortion map rendering not including post-deferred content at all. Fix distortion map rendering not including anything but sky when camera is underwater. Update sun_up_factor/sunmoon_glow_factor uniforms even when sun disc isn't in use.
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-02-01Roll back attempted fix for 9996 on ALM which has unacceptable knock-on effects.Graham Linden
2019-02-01Fix issue with OSX shader compiler not implementing #if correctly (nice job, ↵Graham Linden
Timmy).
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.
2019-01-04Add new shaders for generating shadows from clouds.Graham Linden
Add new class3 shadow shaders for VSM shadows. Add disabled shadow pass in WLSky for using above.
2018-12-10Mods to allow using ALM rendering in water reflections soGraham Linden
the reflections will better match what they're reflecting when ALM is enabled.
2018-12-05[EEP] NULL gAtmosphere crash fixandreykproductengine
2018-11-02SL-9806 stop rendering stars post deferred so they can be depth sorted ↵Graham Linden
properly with clouds and heavenly bodies.
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