summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/windlight/skyV.glsl
AgeCommit message (Collapse)Author
2022-09-27SL-18190 WIP -- Take 2 on linear space windlight (more methodical approach ↵Dave Parks
-- make desired interface but brute force color conversions). Placeholder PBR water and move to deprecate forward rendering shaders.
2020-09-16DRTVWR-4976 Misc shader cleanup.Dave Houlton
Removed some potential div-by-0 NaNs and a mangled clamp.
2020-08-28SL-13768 clang-format shader files (whitespace)Dave Houlton
2020-08-28SL-13768 de-obfuscate cloud/sky vertex shadersDave Houlton
2020-08-28SL-13768 remove moon glow from sky and cloudsDave Houlton
2019-07-24SL-11550Graham Linden
2019-07-12SL-11545Graham Linden
Fix glow calcs in sky shaders (not just the not shared enough atmospherics funcs). Revert 10625 attempted fix as it breaks baggy clothes as much as skipping readbacks does.
2019-07-03SL-11545, SL-11543, SL-10625Graham Linden
Fix emissives without normal maps clobbering the alpha output in materialF. Modify glow size calc to get close to pre-EEP sun glow behavior (may require sky vert settings >= mid). Make bake ignore alpha readback for Intel until we can determine why their drivers now go boom.
2019-06-20SL-9989Graham Linden
Remove use of distance multiplier from sky shaders (but leave in the atmospherics helpers).
2019-06-19Sky fixes.Graham Linden
Make class1 sky use pre-projection pos to get proper distances for attenuation. Make all sky shaders use the dist_mul again. Revert to using old sky tessellation logic (may regress bugs addressed by new tess code).
2019-06-05SL-9989Graham Linden
Clamp fog distance multiplier to >= 0.05 and adjust min range on control as well. Make sky shaders use dist mul consistently.
2019-06-03SL-10966Graham Linden
Fix light atten and transmittance calcs breaking ambient color contrib to fog. Needs to be tested on DRTSIM-415 or better to get legacy viewer settings that match EEP.
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-05-07SL-11055, SL-10966, SL-11087Graham Linden
Make haze look more like WL. Make lack of sun and moon mean black and fixed dir to prevent spooky underlighting.
2019-05-03SL-11070Graham Linden
Gave clouds the Bob Ross treatment.
2019-04-22Fix mismatch between release and EEP in sunlight and ambient color from ↵Graham Linden
settings.
2019-04-19Fix sky and cloud shader usage of density_multiplier (not re-ranged from FS ↵Graham Linden
to WL). Remove all refs to now unused calcFragAtmospherics.
2019-04-19Add directory names to sentinels in shaders so shaders with same filename ↵Graham Linden
can be differentiated in nSight while debugging.
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-25SL-10303, SL-10414Graham Linden
Fix positioning of sun/moon discs w.r.t atmo haze glow. Disable killing glow when sun is not up.
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.
2015-11-10remove execute permission from many files that should not have itOz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2012-02-08SH-2592 Fix for some shader uniforms using the wrong vector size.Dave Parks
2012-01-31SH-2592 FIX -- (OS X Lion) Graphics issues with Atmospheric Shaders enabled ↵Leslie Linden
on Intel HD 3000, 10.7.2 This is a dummy check-in to get the previous commit associated with SH-2592 instead of EXP-2592, which was a typo.
2012-01-30EXP-2592 FIX -- (OS X Lion) Graphics issues with Atmospheric Shaders enabled ↵Leslie Linden
on Intel HD 3000, 10.7.2 * Fixed up shaders to add haze_density and blue_density together correctly as vec4's rather than relying on the shader compiler to add them together properly.
2012-01-30SH-2592 PROGRESS -- (OS X Lion) Graphics issues with Atmospheric Shaders ↵Leslie Linden
enabled on Intel HD 3000, 10.7.2 Refactored WindLight estate settings to use float uniforms in the shaders that only need it, rather than vec4's for everything.
2011-11-11Assorted shader cleanup to remove a few warnings and errors for OS X.Leslie Linden
2011-09-16SH-2243 work in progress -- don't use deprecated shader stateDave Parks
2011-09-15SH-2243 work in progress -- no more deprecated built-in matrix state when ↵Dave Parks
using shaders.
2011-08-19mergeDave Parks
2011-08-17add proper copyright and license headersOz Linden
2011-08-08SH-2242 Work in progress migrating to glVertexAttrib everywhereDave Parks
2011-05-31SH-1682 Dynamically adjust the number of texture channels to use for indexed ↵Dave Parks
texture rendering based on available hardware.
2010-10-06ATI compatibility passDave Parks
2010-08-24Update GLSL shader sources to current $LicenseInfo$ standard.Nat Goodspeed
See https://wiki.lindenlab.com/wiki/License_Substitution for details.
2008-02-27Merge of windlight into release (QAR-286). This includes all changes inBrad Kittenbrink
windlight14 which have passed QA (up through r79932). svn merge -r 80831:80833 svn+ssh://svn.lindenlab.com/svn/linden/branches/merge_windlight14_r80620