PrefabLightmapping
PrefabLightmapping copied to clipboard
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-...
I'm getting the following error, Can you advise? IndexOutOfRangeException: Index was outside the bounds of the array. PrefabLightmapData.GenerateLightmapInfo (UnityEngine.GameObject root, System.Collections.Generic.List`1[T] rendererInfos, System.Collections.Generic.List`1[T] lightmaps, System.Collections.Generic.List`1[T] lightmapsDir, System.Collections.Generic.List`1[T] shadowMasks, System.Collections.Generic.List`1[T] lightsInfo)...
I have an older project on 2019.3 I'm trying to get to work with this script. This works fine while in editor, but in the built game, some nested prefabs...
Is there any way to make this shader work for baked lightmaps? I am not getting shadows at all If I bake lights.
Hi, I have a huge prefab with the lighting baked into it. However, in prefab mode and when instantiated, the normal maps aren't being shown properly. I keep the prefab...