Torque3D/Engine/source/lighting
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
..
advanced lighting corrections: 2023-11-18 19:05:12 -06:00
basic * BugFix: Clear a lot of warnings and correct a few actual programming errors along the way. 2021-10-04 20:04:21 -04:00
common Assign result from mClampF 2023-03-04 21:44:52 +01:00
shadowMap lighting corrections: 2023-11-18 19:05:12 -06:00
lightInfo.cpp Removed old fixed function code from GFX. 2021-01-05 12:57:17 +10:00
lightInfo.h Removed old fixed function code from GFX. 2021-01-05 12:57:17 +10:00
lightingInterfaces.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
lightingInterfaces.h Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy 2017-06-23 11:36:20 -05:00
lightManager.cpp lighting corrections: 2023-11-18 19:05:12 -06:00
lightManager.h Add vector light support to forward materials. 2019-07-22 00:16:58 -05:00
lightQuery.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
lightQuery.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
shadowManager.cpp Eliminate DefineConsoleFunction 2018-04-17 20:54:08 +02:00
shadowManager.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00