Package com.jme3.light
Class WeightedProbeBlendingStrategy
java.lang.Object
com.jme3.light.WeightedProbeBlendingStrategy
- All Implemented Interfaces:
 LightProbeBlendingStrategy
This strategy returns the 3 closest probe from the rendered object.
 
Image based lighting will be blended between those probes in the shader according to their distance and range.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateProbes(Geometry g, LightList lightList) Populates the resulting light probes into the given light list.voidregisterProbe(LightProbe probe) Registers a probe with this strategy 
- 
Constructor Details
- 
WeightedProbeBlendingStrategy
public WeightedProbeBlendingStrategy() 
 - 
 - 
Method Details
- 
registerProbe
Description copied from interface:LightProbeBlendingStrategyRegisters a probe with this strategy- Specified by:
 registerProbein interfaceLightProbeBlendingStrategy- Parameters:
 probe- the probe to be registered
 - 
populateProbes
Description copied from interface:LightProbeBlendingStrategyPopulates the resulting light probes into the given light list.- Specified by:
 populateProbesin interfaceLightProbeBlendingStrategy- Parameters:
 g- the geometry for which the light list is computedlightList- the result light list
 
 -