summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/windlight
AgeCommit message (Collapse)Author
2020-06-16SL-13449, fix link errors for class1 soften shadersDave Houlton
2020-03-16Add missing fullbrightAtmosTransportFrag stub.Runitai Linden
2020-03-05WIP - Windlight sun lighting should happen in sRGB space, not linear space. ↵Runitai Linden
This keeps ambient from getting overblown and better matches environment lighting with ALM on/off.
2019-09-09SL-1144Graham Linden
The un-water-fogged gap area was rendering while we were still above water, but the water surface was being near culled. I've re-enabled preculling water objects (which also fixes issues with water culling vs spinning the camera) and it seems to behave correctly.
2019-07-23SL-11621Graham Linden
Remove all references to unused shader var global_gamma. Remove many unused decls for gamma from shaders. Make post-deferred gamma correction use display_gamma. Make setting display_gamma use the correct RenderDeferredDisplayGamma setting.
2019-07-22SL-11443Graham Linden
Make fullbright rigged objects with alpha mode none use fullbright shader instead of incorrectly using the material shader. Increase effect of variance in cloud shaders.
2019-07-15SL-11590Graham Linden
Modified windlight shader to remove adjustment to glow.z
2019-07-10SL-1491Graham Linden
Make sun additive contribition depend on facing the sun (without breaking fog). Put back scaling factor keeping sun contrib from blowing out with new FS param range for glow.
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-10SL-10969, SL-11051Graham Linden
Make fullbright alpha mask with mask cutoff == 0 not generate shadows. Adjust handling of ambient across forward and deferred again.
2019-06-06SL-10969Graham Linden
More tweaking ambient light.
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-29SL-10969Graham Linden
Modify ambient handling and forward projector lighting again to stamp out alpha fires.
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-16Revert lighting changes for 10856 causing knock-on.Graham Linden
2019-05-16SL-11195Graham Linden
Adjust ambient clamp up to get closer match to release viewer for existing content.
2019-05-13SL-10856Graham Linden
Modify calc of sunlight to avoid clipping in gamma correct on values outside 0-1 range. Modify shaders to put back ambient clamp tuned to be close to ambient contrib in low/mid lighting.
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-02Roll back sRGB decode changes from contrib for now.Graham Linden
Fix direct light matching across alpha/blended-material/deferred. Get diffuse lighting to match from Low to Ultra.
2019-04-26Lighting WIPGraham Linden
Consistency across class2/3/ALM lighting.
2019-04-26SL-11041Graham Linden
Put ambient clamp threshold back for lighter shadows but closer match to release lighting.
2019-04-25SL-10904, SL-10998, SL-11018Graham Linden
Fix handling of 1/light_y when y was tiny but getting even tinier. Add similar adjustment to shader version of same calc.
2019-04-23SL-10901Graham Linden
Bias shadow sampling and allow control of how dark shadows are (clamped ambient).
2019-04-23SL-1491Graham Linden
Modify handling of additive to make extreme range of glow focus/size safe from lens flare artifacts.
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-19SL-10967Graham Linden
All paths now use the same atmospheric transport calcs.
2019-04-19Add directory names to sentinels in shaders so shaders with same filename ↵Graham Linden
can be differentiated in nSight while debugging.
2019-04-18SL-10966Graham Linden
Don't re-range density multiplier twice.
2019-04-18SL-10966Graham Linden
Fix use of density and distance multipliers in atmospherics to use original pre-EEP range instead of FS expanded range. Modify additive calc to restore old behavior (probably reverts fix for "lens flare" bug).
2019-04-15Fix line-endings on new shader file from contribution.Graham Linden
2019-04-10Fix missing sentinel in shader file to avoid spurious complaints for hg ↵Graham Linden
policy hooks.
2019-04-10Separate out vertex program objects from fragment program objects and use it.Geenz
Given that mShaderObjects only ever expects one copy of a given shader object (leading to lots of "shaderV" and "shaderF"), it made having utility shaders a bit more difficult to incorporate. This change makes sure the two are separated. Using this over a multimap largely for readibility. Also, actually, you know, use this functionality. --HG-- branch : OPEN-340
2019-04-09First stab at moving atmospheric var calcs to its own utility shader.Geenz
Still some work to go here. Largely related to how certain values (i.e., SSAO mix values) are supplied. But so far, so good. --HG-- branch : OPEN-340
2019-03-28SL-10831Graham Linden
Make moon brightness env setting affect moon diffuse/ambient color combo so it affects in-world lighting. Adjust how the moon brightness affects the moon disc texture rendering (washes out less).
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-25SL-9806Graham Linden
Remove fade effect on sun disc as it nears horizon (stars poke through).
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-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-25SL-10303Graham Linden
Modify sun disc shader to better position itself within the sun glow and to fade as the sun approaches the horizon (to mask where the position difference is greatest).
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-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-05Shader cleanup and consolidation of use of sRGB conversion funcs.Graham Linden
2018-11-19SL-10032Graham Linden
Plug more holes through which env ambient terms were finding their way into lighting calcs for HUDs. Fix up mismatched indenting (tabs v spaces) on several shaders.
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-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.