Quick Start

1. Editor Setup

During scene setup, the positions of the light probes will often change, so it is recommended that you turn off the automatic generation of lighting to speed up the workflow.
Go to "Lighting" and uncheck the "Auto Generate" option.
For editor versions 2019+ activate Gizmos. This is necessary so that customizable system components are visible in the scene view.

2. Import MLP Package

Import the MLP package using the "Asset Store" tab in the editor or go to the "Assets -> Import Package -> Custom Package" menu and select the package in Windows Explorer.

3. Adding calculation volume to the scene

  1. 1.
    Open the scene Magic Light Probes -> Examples -> Quick Start
  2. 2.
    Open manager window Tools - > Magic Light Probes -> MLP Manager
  3. 3.
    Click the "Add Volume..." button
The main plugin component will be added to the scene

4. Basic Volume Setting

Select an “MLP Group 0” object and then select the child object “MLP Group 0 Volume”, resize it to fit the size of the scene.
Use standard tool “Rect Tool” or "Handles" on volume sides
Enable the "Scene GUI" (Tools -> Magic Light Probes -> Scene GUI -> Enable), select the plane below the object and click button “Mark As Bottom
You can also use the interface of the main component to perform this action. Go to the "Basic Parameters" tab and click the "Add Object" button in the "Ground And Floor Objects" section.
Objects that you mark as "Floor" or "Ground" must have either a Mesh or a Collider. It cannot be empty game objects. It must also be static. Otherwise, they will not be taken into account by the system and probes will not be generated.‌
If there are no suitable objects on your scene, you can create a temporary object and place it UNDER the calculation volume.

5. Volume Culling Options

Set "Color Threshold" to 0.005 and "Free Volume Filling Rate" to 0.05
In this demo scene, all static objects are in the "Default" layer, so you do not need to configure the "Collision Detection Layers" parameter. In real scenes, you need to select the layers in which your static geometry is located, use the drop-down list for this.

6. Volume Сalculation

Click the “Calculate Probes Volume” button.

7. Quick Volume Editing

Additionally, you can press on the “Go To Quick Editing” button and adjust the available options in the “MLP Quick Editing” component.
Changes in the corresponding values ​​will be reflected in real time on the parameters of filling the volume.