summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
AgeCommit message (Collapse)Author
2019-05-03SL-11075Graham Linden
Make alpha shader apply vert color everywhere.
2019-05-03SL-11087, SL-11086, SL-11092Graham Linden
Fix sun/moon glow factor bustage. Make darkness an option. Fix moon fade shader logic getting confused when sun was below horizon.
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-30SL-11071Graham Linden
Make sun disc and moon shaders use sRGB hardware tex sampling. Remove sun disc shader use of fullbright transport (fogging).
2019-04-30SL-10856Graham Linden
Remove ambient clamp to keep shadows dark. Partial fix for class 3 ambient term being wrong.
2019-04-29SL-10956, SL-10969Graham Linden
Don't ignore far z in culling. Fix Mid lighting being very dark. Partial fix for broken projectors with forward rendering.
2019-04-29Remove hack mul of sunlight in alpha shader and add some taps for debugging ↵Graham Linden
the lighting pipe.
2019-04-26Lighting WIPGraham Linden
Consistency across class2/3/ALM lighting.
2019-04-26SL-11055Graham Linden
Remove shader change to reduce additive to combat SL1491 as it also kills additive from foggy settings. Zero out all cached hardware light colors causing uninit fun with class3 lighting.
2019-04-26SL-11041Graham Linden
Put ambient clamp threshold back for lighter shadows but closer match to release lighting.
2019-04-26Make alpha projectors do projector clip test for consistency with deferred ↵Graham Linden
spot behavior.
2019-04-26Make terrain shader decide to include atmo effects or not based on whether ↵Graham Linden
we're underwater or not.
2019-04-26Add projector light within da gtz test.Graham Linden
2019-04-25SL-11051Graham Linden
Fix alpha tests in alpha mask shadow shader to not include potentially incorrect vert color alpha in decision.
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-25Fix dark ALM and strangeness at Mid lighting (class 3 but with a darkness ↵Graham Linden
about it). Make a distinct class3/lighting/lightV which boosts to WL levels (* 2.0) and make lighting without WL atmo enabled use class 2 or below. Make forward shaders (alpha and materialF with alpha-blend mode on) more consistent with deferred lighting.
2019-04-24SL-11027Graham Linden
Fix incorrect discard on fullbrights w/ alpha mask and cutoff > 1.
2019-04-23SL-10946Graham Linden
Limit influence of refraction scale to avoid pulling in lots of background 'deep blue' pixels never written in the distortion map pass.
2019-04-23SL-10901Graham Linden
Bias shadow sampling and allow control of how dark shadows are (clamped ambient).
2019-04-23SL-10901 part 1Graham Linden
Fix flicker even in no shadow ALM from pow on final_da. Shadow acne at Midday still present.
2019-04-23SL-1491Graham Linden
Modify handling of additive to make extreme range of glow focus/size safe from lens flare artifacts.
2019-04-22SL-10856Graham Linden
Restore light sum loops to fix broken ambient.
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-19SL-10996, SL-10997, SL-10970Graham Linden
Revert fix for 10901 because knock-on is causing other issues.
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-10967Graham Linden
Make fullbright transport look closer to normal transport so fullbright objects reflect distance.
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-16Make blended material objects use the same BRDF for spec as everything else.Graham Linden
2019-04-15SL-10968Graham Linden
Tweak forced frag depths for sun/moon disc images to resolve depth fighting with hills etc.
2019-04-15SL-10959Graham Linden
Scale down of bloom was off by a factor of 3 or so.
2019-04-15Fix line-endings on new shader file from contribution.Graham Linden
2019-04-10SL-10901Graham Linden
Fix up shadow sampling and tweak shadow biasing. Clean up shader decls of unused funcs. Clean up whitespace diffs from release.
2019-04-10Fix missing sentinel in shader file to avoid spurious complaints for hg ↵Graham Linden
policy hooks.
2019-04-10Merged in Geenz/viewer-eep/OPEN-340 (pull request #345)Rider Linden
OPEN-340 & OPEN-343 - Consolidate shader atmospheric calcs into a singular utility shader + fix fog on fullbright in deferred
2019-04-10SL-10925, SL-10926, SL-10896Graham Linden
New fix for 925/926 that doesn't cause 896 again. Also linearize moon disc tex color.
2019-04-10Revive the shading model that masks fog.Geenz
--HG-- branch : OPEN-340
2019-04-10I don't think the class3 variant is used, but just in case.Geenz
--HG-- branch : OPEN-340
2019-04-10Fullbright + elimination of all references to calcFragAtmospherics.Geenz
--HG-- branch : OPEN-340
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-04-09SL-5186Graham Linden
Fix falloff on projectors in forward rendering (different falloff calcs than deferred).
2019-04-08SL-5186Graham Linden
Make projector ambiance unshadowed in both forward and deferred for consistency.
2019-04-08Make ambient clamping consistent between class1/2 deferred lighting and ↵Graham Linden
forward rendering. Add decls for intermediate lighting values for debug.
2019-04-05SL-10896Graham Linden
Fix deferred water soften prog lightnorm getting stomped with rotated lightnorm, because it's a water shader and needs water atmo uniform values, but it's a deferred lighting shader that needs not-so-rotated lightnorms. Make sunlight_color not get auto-updated so we can get the correct value from mSunDiffuse. Remove mix to preserve bumps as it was washing out shadows.
2019-04-05SL-10821Graham Linden
Fix directionality of da and preserve bumps on completely shadowed areas.
2019-04-05Fix spec gone wild in ALM water rendering.Graham Linden
2019-04-05SL-10854 part 2Graham Linden
Clamp ambient to keep shadows dark. Apply min with shadow value after we've pow'd by light gamma consistently between forward and deferred.