Filters

Article

Code Sample: Lightmapping code for prefabs in Unity*

Attach this script as a component to any prefab you might want to lightmap. From the editor window inside Unity you can setup a scene with proper lighting and position your prefabs inside the scene as per your requirements.
Authored by Castedo, Alejandro Last updated on 05/21/2019 - 13:40