SlightlyMad / VolumetricLights

Volumetric Lights for Unity
BSD 3-Clause "New" or "Revised" License
2.05k stars 304 forks source link

Effect disabled after using light for baking #32

Open Cascho1975 opened 6 years ago

Cascho1975 commented 6 years ago

Hi,

first of all thanks very much for this great stuff!

Here´s my issue: I use a directional light (Realtime mode) as a sun for my outdoor scene. I setup the VoluemticLighting component on this light to get some nice godrays using realtime shadows. I see everything is fine in runtime.

I switch this light to Baked mode for baking some lightmaps. I switch this light back to realtime mode but the godrays are no longer present in runtime.

I clear baked data and godrays are present again.

Any ideas?

Kind regards, Carsten

SlightlyMad commented 6 years ago

hi,

I'm afraid I don't have any experience with light baking in unity but I will take a look if I can find the time