summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/windlight
AgeCommit message (Collapse)Author
2020-09-16DRTVWR-4976 Misc shader cleanup.Dave Houlton
Removed some potential div-by-0 NaNs and a mangled clamp.
2020-09-11SL-13465 Restore Pre-EEP haze effecting moonPtolemy
2020-09-11SL-13465 Remove hack offset of moon when AS is ON to match when AS is OFF.Ptolemy
2020-09-02SL-12978 & SL-13743. Remove abrupt changes in sun intensity calc, preserve ↵Dave Houlton
original fall-off. Had to find a balance in the sunlight intensity calculation that behaves correctly for both these issues.
2020-09-02SL-12978 clang-format shader file (whitespace)Dave Houlton
2020-09-02SL-12978 de-obfuscate, banish the tempsDave Houlton
2020-09-02SL-12978 refactor sunlight intensity calculationDave Houlton
2020-08-21SL-13743 revert part of SL-12978 change that broke low-angle sunlightDave Houlton
2020-08-16SL-13465 Fix local scalar mix masking global mix() function.Ptolemy
2020-08-16SL-13465 Partially restore atmospheric effects for the moon.Ptolemy
2020-07-02SL-13539 Fix a white artifact over the water at certain anglesPtolemy
2020-07-01SL-12978 Add note about similar code in C++ and GLSLPtolemy
2020-07-01SL-12978: CleanupPtolemy
2020-07-01SL-12978: Fix off-axis water dimmingPtolemy
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.