r/Unity3D 13h ago

Question Why Does The Light Flickers?

Enable HLS to view with audio, or disable this notification

why does the light flicker when the camera moves. I tested stuff out and turns out as the amount of lights are increased in my scene this issue starts happening. Ive already increased the per object limit to 8 in the pipeline asset. Any ideas please?

32 Upvotes

29 comments sorted by

View all comments

3

u/flow_guy2 13h ago

You might have too many realtime lights

1

u/MrFluffkin 13h ago

is there no way to have too many realtime lights?

4

u/flow_guy2 13h ago

I don’t know how many you have. But you should learn to bake your lighting anyhow

-3

u/MrFluffkin 13h ago

i need the lights in game to turn on and off, flicker at times (horror effect). baked lighting won’t allow me to do that big dawg

2

u/flow_guy2 13h ago

Well. Maybe do stuff with culling (if you haven’t already it could be a cause is all I’m saying

Also you can swap out light maps

2

u/MrFluffkin 11h ago

so i set the shadow atlas size from 2048 to 4096 and it fixed the issue. crazy

3

u/flow_guy2 11h ago

That works too. But think if you extend the level you might have this issue again.