FScene_AddLightSceneInfo_RenderThread

[Content removed]

Seeing as it’s been 10 months, I wanted to check in and see if any changes were made to add other runtime light changes to the fast path. If there has been, a cl which I can cherry pick and backport would be very much appreciated.

Thanks,

Brenden

Hello,

Unfortunately, the team hasn’t had time to prioritize that feature request and looking at the code in LightComponent.cpp for the specific functions mentioned in the previous EPS, they still call MarkRenderStateDirty().

That’s a good call out - we do see that plugin show up often in performance GPU captures and Insights. I’ll add your feedback to our internal issue tracking this so the team is aware, thanks!

Okay no problem, we’ll add fast path ourselves for a couple things and otherwise probably drop certain directional light runtime usage. To be honest I feel like this is a huge “gotcha” for newcomers if they aren’t profiling carefully. One of the most popular asset packs on the marketplace “Ultra Dynamic Sky” manipulates the directional light using some of these render state dirty flags so out of the box rocketbuilds will suffer for a lot of indie developers.