summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3
AgeCommit message (Collapse)Author
2019-03-28SL-10829, SL-10830Graham Linden
Replace old spot prio calc. Replace fudge factors on light radius and falloff for deferred lights.
2019-03-27Fix projector falloff and attenuation handling.Graham Linden
2019-03-22Make class3 light sum loop use light_diffuse[0] for sunlight_color instead ↵Graham Linden
of atmosAffectDirectionalLight with sunlight_color that isn't updated correctly.
2019-03-20SL-10449Graham Linden
Fix name of attenuation setter used. Fix flipped light vec. Make class3 lights use shadows on projector ambiance too.
2019-03-19SL-10764Graham Linden
Fix the light_atten decsl for specular lighting too.
2019-03-19SL-10764Graham Linden
Fix lighting issues when using shaders, but not ALM. Shader code cleanup (remove do nothing functions only in one file). Fix obsolete comment to refer to correct storage for projector ambiance.
2019-03-03SL-10664, SL-10666Graham Linden
Fix up culling issues from perf work and fix Depth of Field rendering to get depth values properly. Baseline for performance work.
2019-02-28EEP performance WIPGraham Linden
Mods to improve alpha obj render performance. Removes hacky fix for HUD elements getting atmospherics. Re-orders rendering of glow to remove ~10ms/frame of shader re-re-rebinding. Fix up default classes and basic shader loading (remove unused shared modules).
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-01-30SL-10415, SL-10434Graham Linden
Further tweaking of directional shadow sampling to balance between peter-panning and shadow acne. Move stars to just this side of the sky some to reduce parallax. Remove decodeNormF and uses of decode_normal in favor of unified use of getNorm (try to help the Intel HD x000 compiler learn to link correctly).
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-17SL-10368Graham Linden
Fix OSX shader compile bug from use of #if FOO instead of #ifdef FOO or #if defined(FOO) preventing atmospherics (and thus ALM) from working on OSX.
2019-01-10Fix for lineendings in depthToShadowVolumeG.glslandreykproductengine
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.
2019-01-03Fix per-frag fullbright soft clip convenience funcs to include additive and ↵Graham Linden
atten args.
2018-12-19Add new shaders for advanced atmo SH env lighting calcs.Graham Linden
2018-12-05Shader cleanup and consolidation of use of sRGB conversion funcs.Graham Linden
2018-11-12SL-10044 SL-10045Graham Linden
Fix class 1 and 2 transport/gamma funcs and made usage consistent across all shaders. Fix class1\environment\waterV reverting to old d1/d2 names for wave directions.
2018-11-09Add missing new shader files.Graham Linden
2018-11-09Yes, Maurice, baby steps.Graham Linden
2018-11-09Back out changes causing broken shadows and other render shenanigans.Graham Linden
2018-11-06Move to using a shared deferredUtil object for getting pos/norm from gbuffer.Graham Linden
Eliminate 20+ callsites with copy-paste of getPosition and/or getNorm code. Make pipeline use getShadowTarget/releaseShadowTarget consistently.
2018-11-06Remove scaleDownLight funcs and eliminate unused copy-pasted funcs in ↵Graham Linden
lighting shaders. Also fix terrain response to atmospherics shaders (was failing to apply ambient on low end even when atmospherics was on).
2018-11-01SL-9994Graham Linden
Make shaders use consistent naming and parameter order for transport and atmospheric helpers. Share transport and gamma correction code where possible. Add lots of asserts and other validation for when things don't go as planned. Engage dumpShaderSource to get more source output with shader compilation fail.
2018-10-10Remove unused uniforms from atmospherics helper shaders.Graham Linden
2018-10-10Remove some unused atmospherics helpers and forward declarations of unused ↵Graham Linden
helper funcs.
2018-10-09SL-1289Graham Linden
add cloud_variance control for randomized perturbance of clouds to break up tiling monotony
2018-10-05SL-1925Graham Linden
More settings for rainbow/halo atmospheric effects, final default asset UUIDs, and shader mods.
2018-09-14SL-9632 add uniform and code to supress atmospherics in all shaders that ↵Graham Linden
could be used by HUDs Make sky and cloud shaders use common scaleSoftClip implementation in gammaF.glsl
2018-09-14SL-1491Graham Linden
Fix name at top of the 3 softenLight shaders so we can differentiate which is in use when using nSight debug. Made class2 softenLightF shader modulate the atmospherics additive to only specular shading to fix lens flare on terrain etc.
2018-09-10Add copies of existing lighting shaders for advanced atmo path.Graham Linden
Enable advanced atmo by default. Disable nSight in settings.xml Remove MSVC debug pragmas.
2018-09-10Move fname back inside class loop. grumble stringstream grumble.Graham Linden
Fix sky depth-testing with advanced atmospherics.
2018-09-10Fixes for switching between atmospherics implementations on the fly.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-048283/4 WIPGraham Linden
2018-08-09MAINT-8951Graham Linden
Remove moon_dir related shader code causing sunlight shadow artifacting.
2018-07-10Make advanced atmo sky shader compile again.Graham Linden
Make atmospheric model avoid redundant work when settings don't change. Point autobuild.xml at libatmosphere with op== to compare density profiles.
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-05-01Le MergeGraham Linden graham@lindenlab.com
2018-04-20Move class3 sky/cloud shaders to where they need to be to get picked up by ALM.Graham Linden graham@lindenlab.com
Modify autobuild.xml to use new libatmo w/ state save/restore fixes (addresses font render glitch). Put in nSight debug support.
2018-03-14Fix up atmospheric helpers and transport shader for adv atmo path.Graham Linden graham@lindenlab.com
Basic hook-up of sky settings to llatmosphere model. Moved mie aniso to be a top-level setting instead of a per-mie-layer setting.
2018-03-12Add new shader files missed in last commit.Graham Linden graham@lindenlab.com
2018-03-08Get libatmosphere shader into link chain for Adv WL shaders.Graham Linden graham@lindenlab.com
Point autobuild at fixed libatmosphere.
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.
2018-02-26Add distinct versions of sky, cloud, and transport shaders so they can be ↵Graham Linden graham@lindenlab.com
different with adv atmo shaders.
2018-02-26Redo advanced atmo shader integration with SL.Graham Linden graham@lindenlab.com
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