Files
UnrealEngineUWP/Engine/Shaders/Private/LightGridCommon.ush
florin pascu bbd6d91e43 Solve OOB access of FLocalLightData when LinkedListCulling is off.
Add GetMaxLightsPerCell that returns GMaxCulledLightsPerCell when LinkedListCulling is off and NumLocalLightsFinal when it is on
Replace calls of GetNumLocalLights with the GetMaxLightsPerCell where it would cause an OOB if used with LinkedListCulling off

[CL 27022928 by florin pascu in ue5-main branch]
2023-08-11 01:53:21 -04:00

12 KiB