My setup:
i have mixed mode spot lights in my scene. all geometry is marked static.
My Goal:
I want: shadows, direct, indirect lighting all baked. but i also want specularity which mixed light mode should allow for.
My issue:
mixed light mode spot lights wont bake shadows. they bake every aspect of lighting well but only allow for realtime shadows.
I want: shadows, direct, indirect lighting all baked. but i also want specularity which mixed light mode should allow for.
Mixed mode light implies that the realtime contribution shouldn’t be baked. Baked direct lighting isn’t compatible with that.
mixed light mode spot lights wont bake shadows. they bake every aspect of lighting well but only allow for realtime shadows.
What is your Mixed Lighting mode set to in the lighting window? Shadowmask? By default, shadowmask mode will only use the baked shadows for distant objects, and realtime shadows for nearby objects. You can change that in the project settings if you want, to always use the baked shadows.
The source of the baked shadows will also depend on whether the object in question is light probe lit. Lightmapped objects receive their baked shadows from a separate shadowmask texture. Light probe lit /dynamic objects receive their baked shadows by storing an additional probe occlusion component for each probe. If there are no probes nearby, it won’t work.
1 Like
thank you for your attention. i adjusted shadowmask settings and now it bakes shadows.