DiffuseLightProbeReceiverComponent
A component that receives diffuse lighting from a referenced probe group.
Declaration
struct DiffuseLightProbeReceiverComponentOverview
Attach this component to entities that should receive spatially-varying diffuse indirect lighting. As the entity moves through the scene, the system automatically interpolates diffuse lighting from the probe group based on the entity’s current position.
This follows the same receiver pattern as ImageBasedLightReceiverComponent.
character.components[DiffuseLightProbeReceiverComponent.self] =
DiffuseLightProbeReceiverComponent(probeGroup: probeGroupEntity)