Ayfel / PrefabLightmapping

Script for saving lightmapping data to prefabs. Used through the Assets tab in Unity. Place your prefbas in the scene with this script at the root. Set up your lighting and in the editor go to Assets->Bake Prefab Lightmaps. After is processed you can now spawn your prefabs in different scenes and they will use the lightmapping from the original scene.
624 stars 89 forks source link

Nested prefabs #1

Closed 13Flo closed 5 years ago

13Flo commented 5 years ago

That's great. Thanks for sharing.

Is this script compatible with 2018.3 and nested prefabs?

Ayfel commented 5 years ago

I haven't tested it but I dont think the renderers and light mapping connections have changed, so probably. Let me know if you try

13Flo commented 5 years ago

Just tested and it works like a charm with 2018.3 + LWRP

To be honest, I was expected this to take a lot more time to figure out. I am so happy I found your repo. THANK YOU. Really, I mean it!

Ayfel commented 5 years ago

Great to know! You are welcome : )