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.
618 stars 88 forks source link

Normal maps not showing properly on instantiated prefab #70

Open dev-kiwicreations opened 1 month ago

dev-kiwicreations commented 1 month ago

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 as an addressable and then upload the bundles in Digital Ocean. Here is a screenshot: after Here is a screenshot of when the prefab is put already into the scene: before Any reasons as regards to what happened? And any potential fixes?

Ayfel commented 1 month ago

If you instantiate directly or drop while in Play mode a couple of those do they work properly?