Package com.jme3.light
Class BasicProbeBlendingStrategy
java.lang.Object
com.jme3.light.BasicProbeBlendingStrategy
- All Implemented Interfaces:
LightProbeBlendingStrategy
This strategy returns the closest probe from the rendered object.
This is the most basic strategy : The fastest and the easiest.
Though it has severe graphical drawbacks as there might be very visible seams
on static object and some "popping" on dynamic objects.
-
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
-
BasicProbeBlendingStrategy
public BasicProbeBlendingStrategy()
-
-
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
-