Age | Commit message (Collapse) | Author |
|
Make culling ignore the geo from the spotlight rendering a shadowmap.
|
|
|
|
Fix handling of ambient (was getting reset to 1,1,1,1 unintentionally).
Modify shaders to balance ambient across render modes again.
|
|
Limit banding from atmo exp falloff calc.
|
|
|
|
Modify forward projector lighting to use falloff like the deferred lights.
Make tex cache not evaluate evictions for size during validation passes.
|
|
Fix linear attenuation on forward projector lighting.
Revert setup of falloff to prev code.
Revert deferred water spec and tweak refl/refr blend.
|
|
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.
|
|
Don't short-circuit getVisibleExtents as its side-effects are relevant.
|
|
|
|
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).
|
|
Make haze look more like WL.
Make lack of sun and moon mean black and fixed dir to prevent spooky underlighting.
|
|
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).
|
|
Tweak DistortionWaterClipPlaneMargin (1.0001 -> 1.0125) to mask edges of objects in water disortion map.
|
|
Restore 1.0 alpha to prevent atmo being applied directly to water.
Fix broken shadow frust generation.
|
|
Remove ambient term clamping to get less dark shadows where we want less dark shadows in ALM.
|
|
Fix direct light matching across alpha/blended-material/deferred.
Get diffuse lighting to match from Low to Ultra.
|
|
Modify is sun up logic to exclude condition of moon.
|
|
Don't ignore far z in culling.
Fix Mid lighting being very dark.
Partial fix for broken projectors with forward rendering.
|
|
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.
|
|
|
|
Fix falloff on projectors in forward rendering (different falloff calcs than deferred).
|
|
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.
|
|
Clamp far_clip for sun shadows to >= 256.0 to prevent issues when draw distance < ~100m.
|
|
Disable occlusion culling when rendering water reflection/refraction maps again (still getting probabalistic results for reflection map contents). :/
|
|
Render sun/moon beacons in non-ALM mode too.
|
|
Fix edge cases in determining when we can skip doing shadow rendering work.
|
|
|
|
|
|
opt-in.
|
|
|
|
Will wait for a response from @graham_linden regarding moving the sRGB conversion functions in llmath.h to llrender.
|
|
|
|
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.
|
|
Replace old spot prio calc.
Replace fudge factors on light radius and falloff for deferred lights.
|
|
Make moonlight darker and slightly bluish for scotopic feel when moon is primary.
|
|
|
|
can set uniforms for shaders along with other light params.
Fix atten calcs to not use abs val.
|
|
The fix caused SL-10357
|
|
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.
|
|
|
|
fix diffs between EEP and VR.
|
|
'warn-on-failure:no-tabs'
|
|
|
|
Fix reflection/distortion map culling planes again.
Fix broken handling of shadow disables in ALM forward shaders.
|
|
Add many more fast timer blocks to differentiate where time goes in UI and Shadow rendering.
|
|
Use (Restore)TexSetup for tex binding (should be equivalent now).
Simplify uniform management in alpha drawpool loop.
Fix wrong modelview mat being used for distortion map gen.
|
|
|
|
|
|
Disable pre-cull of water causing refraction/reflection map generation more than is necessary.
Re-org alpha draws to limit state changes based on render type.
|