Torque3D/Engine/source/lighting/shadowMap
AzaezelX 593d0ef9f0 lighting corrections:
1) fix spotlight shadow casting. we weren't properly accounting for reversedepthbuffer there
2) fix mismatched variables in forward lit spotlight param array
3) use disney diffuse in the generalized brdf, and apply it for spotlights after angular attenuation, not before
4) .provide a generailze luxTargMultiplier approach for spot and point lights (as well as future growth areas) so that range, angle ect can impact the brightness variable sent to a given light source shader without perpixel overhead
5) for spotlightParams in particular, use sizeof(point4f) for the alignedarray untill that's properly reviewed/revised
6) narrow attenuation slightly based on a given lights dot product to prevent tool vs outcome leakage, plus provide safeties for when a given spotslight's inner and outter angles match identially
2023-11-18 19:05:12 -06:00
..
cubeLightShadowMap.cpp Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
cubeLightShadowMap.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
dualParaboloidLightShadowMap.cpp Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
dualParaboloidLightShadowMap.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
lightShadowMap.cpp adress gl spotlights disapearing for deferred 2021-10-21 22:08:56 -05:00
lightShadowMap.h clean up the light.cookie entries 2021-07-22 11:57:41 -05:00
paraboloidLightShadowMap.cpp Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
paraboloidLightShadowMap.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
pssmLightShadowMap.cpp Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
pssmLightShadowMap.h shadow caching 2015-10-13 18:12:19 -05:00
shadowCommon.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
shadowMapManager.cpp Removes current implement of shadow caching 2019-12-13 01:14:03 -06:00
shadowMapManager.h Removes current implement of shadow caching 2019-12-13 01:14:03 -06:00
shadowMapPass.cpp adds alphatest shadows for translucent objects 2020-03-01 10:47:25 -06:00
shadowMapPass.h uninitialized variables-lighting 2020-05-11 15:07:21 -05:00
shadowMatHook.cpp cleanups for shadergen and the visibility feature 2021-09-17 01:24:20 -05:00
shadowMatHook.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
singleLightShadowMap.cpp lighting corrections: 2023-11-18 19:05:12 -06:00
singleLightShadowMap.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00