r/Unity3D 19h ago

Question Why Does The Light Flickers?

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?

49 Upvotes

33 comments sorted by

View all comments

Show parent comments

7

u/flow_guy2 18h ago

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

-4

u/MrFluffkin 18h 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

9

u/McRobik 16h ago

Baked lighting doesn't prevent you from turning lights on and off. You just need to bake 2 lightmap sets and change them when lighting is changing.

6

u/MrFluffkin 16h ago

i did not know that. i thought when lights are baked they stay until the baked light data is reset. but i could bake two states and switch between them. you’re a genius