In this tutorial you will learn how to use the Tridify BIM Tools in Unity to create basic lighting into the building.
Explore the benefits of the Tridify BIM Publishing Service and start a FREE 14-day trial (no credit card required)
1. Open Floor Lighting window
Floor Lighting tool automatically creates basic lighting and light probes into a building model.
Open Tools > Tridify > Floor Lighting
2. Define floors and ceiling objects
In the Floor Lighting window the Object Definitions menu shows all detected levels at which automatic lighting generation is possible. The Floor Lighting tool uses BIM data for definitions. For the most accurate definitions possible, a properly created and exported BIM model is required.
The Floor Lighting tool automatically detects floors, blocking objects and ceilings. Blocking objects (boundaries) are, for example, columns and furniture items defining the shape of the room, e.g. tall shelves and wardrobes.
Objects can also be manually defined in the Object Definition menu from the Level drop-down list. From there, you can also select, reset and clear all defined objects.
The floors, blocking objects and ceilings must be defined correctly for the end result to be successful.
3. Adjust settings (optional)
In the Floor Lighting Settings you can change the parameters that affect the end results of lighting generation. You can also load and save your settings into a text file.
4. Create Floor Lighting
Click the Create Floor Lighting button to automatically create lights and light probes to all selected floors.
The created lights and light probes appear under building level hierarchy, in the Hierarchy window. If you have generated lights on multiple floors (levels) it places the light group under the corresponding floor in the hierarchy.
Generated lights are by default emissive light planes. They are used to generate light in a scene using Realtime Global Illumination (GI).
5. Generate lighting
In the Lighting Settings window (Window > Rendering > Lighting Settings, Scene tab) select Realtime GI and uncheck Mixed Lighting Baked Global Illumination. Precomputed Realtime GI enables updating the scene interactively. More information about Mixed Lighting Baked GI: https://docs.unity3d.com/Manual/LightMode-Baked.html
If Auto Generate is off, start baking lightmaps by clicking the Generate Lighting button in the Lighting Settings. Baking might take some time depending on the size of the model.