public class WeightedProbeBlendingStrategy extends java.lang.Object implements LightProbeBlendingStrategy
Image based lighting will be blended between those probes in the shader according to their distance and range.
Constructor and Description |
---|
WeightedProbeBlendingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
populateProbes(Geometry g,
LightList lightList)
Populates the resulting light probes into the given light list.
|
void |
registerProbe(LightProbe probe)
Registers a probe with this strategy
|
public void registerProbe(LightProbe probe)
LightProbeBlendingStrategy
registerProbe
in interface LightProbeBlendingStrategy
public void populateProbes(Geometry g, LightList lightList)
LightProbeBlendingStrategy
populateProbes
in interface LightProbeBlendingStrategy
g
- the geometry for which the light list is computedlightList
- the result light list