Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
Fix up culling issues from perf work and fix Depth of Field rendering to get depth values properly.
Baseline for performance work.
|
|
|
|
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).
|
|
Fix water rendering causing distortion map update very frame.
Reduce binds in alpha draw pool for HUD atmo suppression (may regress HUD lighting weirdness).
Add ability to retrieve current user clip plane so it can be saved/restored around water map gen.
Leave render type masks as is after reflection map render to get detail filtering applied to distortion map again.
Re-enable occlusion in distortion map rendering.
|
|
Re-enable occlusion for the refracted object culling for the distortion map
(was bloating scene by 3k draw calls when disabled for that pass).
|
|
Tie using deferred rendering in water reflection/distortion map generation to debug var again
(claw back some performance lost to doing post-deferred in water map generation).
Edit softenLightF for class1/class2 to make them comparable again.
|
|
Fix shadow sampling min with caster dp and offset tweaks.
Fix moon direction not being transformed as the sun dir is.
Fix colorspace issue causing some objects to render grayish instead of blackish.
|
|
Fix broken matrix management code causing modelview mats to be used as tex anim mats
(do not depend on default matrix mode already being set).
Give the deferred terrain shader a name.
Make LLRender use the eMatrixMode enum instead of ints.
|
|
Fix distortion map rendering in deferred mode not including underwater fog effects.
Fix distortion map rendering not including post-deferred content at all.
Fix distortion map rendering not including anything but sky when camera is underwater.
Update sun_up_factor/sunmoon_glow_factor uniforms even when sun disc isn't in use.
|
|
Replace clamp on height in atmospherics calcs on fragment shader path.
Fix colorspace conversions in material shaders in forward rendering mode.
Fix deferred shaders not setting the sun_up_factor uniform and getting moonlight instead of sunlight.
|
|
|
|
Another pass at playing with shadow_offset/bias to balance between peter-panning and shadow acne while sun and/or moon are near the horizon.
|
|
Fix side-effects of having both sun and moon as potential directional light contributors.
We pass an int to the shader indicating which to prefer instead of making per-pixel decisions
and pass the moonlight color/di independently.
Obsolete llsettingssky fade color which was unused elsewhere and cached for no reason.
|
|
SL-10459, SL-10461
|
|
Pass projector ambiance as the .w element of the light_attenuation uniform
so that alpha shader can emulate the behavior of proper spot projectors.
|
|
|
|
Ignore occlusion culling when rendering distortion map.
|
|
Modify sun disc shader to better position itself within the sun glow and to
fade as the sun approaches the horizon (to mask where the position difference is greatest).
|
|
Fix issue with clip plane used in distortion map rendering including objects/avatars above water near surface.
|
|
distortion map.
|
|
Clean up deferred\alpha shader to allow re-entrant graphics switching (link error on 2nd compile/link of deferred shaders).
Clean up some uses of pragma(optimize,...).
|
|
Add new class3 shadow shaders for VSM shadows.
Add disabled shadow pass in WLSky for using above.
|
|
|
|
elements when 'Everything' is turned on).
|
|
|
|
|
|
the reflections will better match what they're reflecting
when ALM is enabled.
|
|
|
|
De-duplicate ambient occlusion shader code and move to new aoUtil.glsl
Split shared shadow tap funcs into shadowUtil.glsl
|
|
Modify handling of directional light to prefer sun when it is up but use moon dir/color when it is alone in the sky.
Modify handling of shader in shaders to get some shadowing of ambient and nighttime shadowing.
|