Alright, so i’m making an update to my homestore and i decided to use the future lighting to make it look nicer. Everything was going well until i added my spawn points. When i went into testing the lighting seems to disspear or flicker, the avatar’s shadow also lags behind, these things dont happen when in building/studio mode. Only in test mode.
This seems more like a Roblox lighting, I don’t think you can fix it, at least
not until Roblox does. Maybe I’m wrong, I don’t do a ton of work with lights.
Substitution of point lights with surface lights and lighting optimizations may fix this bug. I have had this bug too before. One way to optimize is by reducing the number of shadows present.
Here is some helpful code to optimize your shadows:
for i,v in pairs (workspace:GetDescendants())do
if v:IsA("BasePart") then
if v.Size.Magnitude <= 5 then
v.CastShadow = false
end
end
end
what this does is removes the shadows of small objects in the map automatically.