summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2
AgeCommit message (Collapse)Author
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-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-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-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-19Add directory names to sentinels in shaders so shaders with same filename ↵Graham Linden
can be differentiated in nSight while debugging.
2019-04-18SL-10967Graham Linden
Make fullbright transport look closer to normal transport so fullbright objects reflect distance.
2019-04-15SL-10959Graham Linden
Scale down of bloom was off by a factor of 3 or so.
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-10Revive the shading model that masks fog.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-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-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.
2019-04-04SL-10854Graham Linden
Clamp ambient contrib to get darker shadows. New PCF sampling func.
2019-04-03Merged in Geenz/viewer-eep-shader-fixes/BUG-226620 (pull request #333)Rider Linden
Fix for BUG-226620 Approved-by: Graham Madarasz <graham@lindenlab.com>
2019-04-03Bring back specular bloom.Geenz
--HG-- branch : BUG-226620
2019-04-03Make sure that the SL BRDF is being applied to objects lit by the sun and moon.Geenz
Fixes BUG-226620 --HG-- branch : BUG-226620
2019-04-03SL-10856Graham Linden
Make terrain *not* blend all the way to diffuse color for no reason.
2019-04-02Merged in Geenz/viewer-eep-shader-fixes (pull request #322)Rider Linden
Water plane rendering improvements Approved-by: Graham Madarasz <graham@lindenlab.com>
2019-04-02Make sure emissive is actually handled with atmospherics consistently.Geenz
2019-04-01Scale the specular contribution to account for brighter highlights.Geenz
This is more or less to achieve the non-ALM bloom behavior in most circumstances. Why scale it? Normalized blinn-phong gets brighter the higher the specular exponent. As it stood, the old spec contribution was extremely bright despite looking "correct". This is largely eyeballed, but generally looks better for all light sources applied to the surface of the water.
2019-04-01Make sure that atmospheric calcs aren't done twice.Geenz
The atomospherics were being applied both in the G-buffer and during the sun light pass. This ensures that is not the case. Additionally, re-enable specular on the water plane, scale the bloom factor to something more reasonable, and also someone broke specular on emissive surfaces. That's fixed too now.
2019-04-01Whoops, forgot a shader!Geenz
2019-03-30Hide sRGB decode behind a flag, and make sure that sRGB decodes is strictly ↵Geenz
opt-in.
2019-03-29SL-10844, SL-10584Graham Linden
Add Geenz doings to the contribs list. Fix per-frag atmospherics to use sRGB conversion. Update ref to new KDU package.
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-26More consistent lighting across ALM/non-ALM/deferred/forward rendering.Graham Linden
2019-03-25Add clamp to keep speccolor non-negative.Graham Linden
Make spot shadowing more consistent.
2019-03-22Fix class1/2 light sum loops to use light_diffuse[0] for sunlight_color too.Graham Linden
Rearrange ordering of scale down of light in class1 as well.
2019-03-21SL-10751Graham Linden
Fix skydome VB generation to cover entire range of phi (give sky pants). Add shader code to fade out clouds to simulate old look at altitude.
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-15SL-10743, SL-10744Graham Linden
Don't step on SUNLIGHT_COLOR uniform w/ syncLightState competing set. Put drawpool alpha render loop lighting setup changes as they were (this will give back some performance and possibly require reopening 10566).
2019-03-13SL-10741Graham Linden
Remove shadow influence on ambient term causing inverted lighting in extreme setups.
2019-03-07Fix tabs.Graham Linden
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).