Rebel Fork Framework
|
LightProbeGroup
defines a group of light probes which are used to calculate volumetric global illumination.
It is usually filled only during light baking, but it's theoretically possible to change light probe group in runtime as long GlobalIllumination
cache is properly updated.
Unless GlobalIllumination
is updated, total number of LightProbeGroup
instances in the Scene
is irrelevant. Only the number of light probes and their arrangement matters.
Component properties only allow probe placement in uniform grid. It is possible to place light probes in arbitrary positions by SetLightProbes()
call. TODO: Implement Editor UI for light probe editing.
All enabled light probes in the Scene
should satisfy certain requirements in order to have correct GI:
Property | Description |
---|---|
Zone Mask | Controls whether the Zone affects this group. |
Light Mask | Controls whether the light source lit this group |
Property | Description |
---|---|
Auto Placement | Whether to enabled automatic placement. If enabled, erases all existing light probes. |
Auto Placement Step | Desired distance between probes. |
Local Bounding Box | Bounding box of placed probes. |