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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
BasicProbeBlendingStrategy
public BasicProbeBlendingStrategy()
-
-
Method Details
-
registerProbe
Description copied from interface:LightProbeBlendingStrategy
Registers a probe with this strategy- Specified by:
registerProbe
in interfaceLightProbeBlendingStrategy
- Parameters:
probe
- the probe to be registered
-
populateProbes
Description copied from interface:LightProbeBlendingStrategy
Populates the resulting light probes into the given light list.- Specified by:
populateProbes
in interfaceLightProbeBlendingStrategy
- Parameters:
g
- the geometry for which the light list is computedlightList
- the result light list
-