Can someone explain this lighting glitch

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.

Can someone explain whats happening?

Heres another example

Edit:
3rd example (flash warning)

5 Likes

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.

1 Like

I’m also noiticing this glitch in studio mode.

This is strange. This can be a Roblox bug to me

1 Like

I’ve been having this issue aswell lately.

1 Like

Are you many point lights? This is the main cause of these bugs.

1 Like

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.

4 Likes

I mainly use surface lights so i guess it would be the same as using tons of point lights.

I’ll try your code, thank you!!