summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
AgeCommit message (Collapse)Author
2019-07-16SL-11610Graham Linden
Give bake its own RT to avoid issues with sharing the water distortion map. Use glFinish to insure RTs will be complete.
2019-07-12SL-11109Graham Linden
Make shadowAlphaMask shader ignore vertex alpha before discards iff we're a fullbright object. Keep llappearance from stuffing dangling pointers into the alpha cache (crash iff you're using nSight debugging and disable readbacks).
2019-07-12SL-11370Graham Linden
Prevent Low/Low-mid from including things in the distortion map render it should not.
2019-06-28SL-11519Graham Linden
Make refraction map include objects for all reflection detail levels.
2019-06-18SL-10829 the 2ndGraham Linden
Made pointLightF use correct colorspace as multiPoint already was.
2019-06-18SL-10969Graham Linden
Remove ambiance handling from alpha and blended materials objects for now. Still too many setups where they get blown out due to attenuation mismatches with deferred.
2019-06-12SL-11370Graham Linden
Take another pass at fixing up refraction map culling across render modes.
2019-06-10SL-11370Graham Linden
Modify culling logic to exclude objects correctly in < Mid graphics.
2019-06-04SL-11353Graham Linden
Make culling ignore the geo from the spotlight rendering a shadowmap.
2019-05-31Fix callsites missed for func w/ changed signature.Graham Linden
2019-05-31SL-11337Graham Linden
Fix handling of ambient (was getting reset to 1,1,1,1 unintentionally). Modify shaders to balance ambient across render modes again.
2019-05-30SL-11289Graham Linden
Limit banding from atmo exp falloff calc.
2019-05-29Clang wants parens. Clang gets parens.Graham Linden
2019-05-28SL-10969, SL-11073Graham Linden
Modify forward projector lighting to use falloff like the deferred lights. Make tex cache not evaluate evictions for size during validation passes.
2019-05-22SL-10969Graham Linden
Fix linear attenuation on forward projector lighting. Revert setup of falloff to prev code. Revert deferred water spec and tweak refl/refr blend.
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-14SL-11101Graham Linden
Don't short-circuit getVisibleExtents as its side-effects are relevant.
2019-05-13SL-11107Graham Linden
2019-05-13SL-10996Graham Linden
Restore old sun matrix gen code. Make sky use correct colorspace. Make sunlight color the CPU-generated WL color when not using atmo shaders or deferred (helps 11107).
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-06SL-11102, SL-11103Graham Linden
Fix diffuse boost in deferred lighting to match non-deferred. Make class2 soften not clamp shadow color to incoming alpha (make shadows appear on terrain underwater).
2019-05-06SL-10946Graham Linden
Tweak DistortionWaterClipPlaneMargin (1.0001 -> 1.0125) to mask edges of objects in water disortion map.
2019-05-04Fix broken water reflection/refraction mix.Graham Linden
Restore 1.0 alpha to prevent atmo being applied directly to water. Fix broken shadow frust generation.
2019-05-03SL-11085Graham Linden
Remove ambient term clamping to get less dark shadows where we want less dark shadows in ALM.
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-29SL-11065Graham Linden
Modify is sun up logic to exclude condition of moon.
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-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-23Move to using aniso filtering on shadow map samplers.Graham Linden
2019-04-09SL-5186Graham Linden
Fix falloff on projectors in forward rendering (different falloff calcs than deferred).
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-10748Graham Linden
Clamp far_clip for sun shadows to >= 256.0 to prevent issues when draw distance < ~100m.
2019-04-04SL-10887Graham Linden
Disable occlusion culling when rendering water reflection/refraction maps again (still getting probabalistic results for reflection map contents). :/
2019-04-04SL-10886Graham Linden
Render sun/moon beacons in non-ALM mode too.
2019-04-03SL-10876Graham Linden
Fix edge cases in determining when we can skip doing shadow rendering work.
2019-04-02Merge 6.1.2 LoveMeRender new hotnessGraham Linden
2019-03-30Make sure the specular and diffuse buffers are being sampled in sRGB space.Geenz
2019-03-30Hide sRGB decode behind a flag, and make sure that sRGB decodes is strictly ↵Geenz
opt-in.
2019-03-30Additional gamma correction work: start moving over to EXT_texture_sRGB_decode.Geenz
2019-03-29Tweaked naming a bit, also white space.Geenz
Will wait for a response from @graham_linden regarding moving the sRGB conversion functions in llmath.h to llrender.
2019-03-29Merge with upstream at https://bitbucket.org/rider_linden/viewer-eepGeenz
2019-03-29Gamma correction pass 2:Geenz
Make sure lights are in the correct color space. Bonus: cache the sRGB color in setLightColor on point and spot lights. Frees up a pow and some multiplies on the CPU every frame.
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-26Remove remaining 0.5/1.5 fudge factors on lighting radius/falloff params.Graham Linden
Make moonlight darker and slightly bluish for scotopic feel when moon is primary.
2019-03-26More consistent lighting across ALM/non-ALM/deferred/forward rendering.Graham Linden
2019-03-26Make whether the sun or moon is primary part of llrender light state so we ↵Graham Linden
can set uniforms for shaders along with other light params. Fix atten calcs to not use abs val.
2019-03-20Backed out changeset: 29f763ea2f9bAndreyL ProductEngine
The fix caused SL-10357
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-13Further tab restoration and whitespace delta minimization.Graham Linden
2019-03-13Mods to make merge with viewer-release have less whitespace-only change and ↵Graham Linden
fix diffs between EEP and VR.