Package com.ardor3d.example.effect
Class ParallelSplitShadowMapExample
java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.effect.ParallelSplitShadowMapExample
Example showing the parallel split shadow mapping technique. Requires GLSL support.
-
Field Summary
Fields inherited from class com.ardor3d.example.ExampleBase
_canvas, _controlHandle, _doShot, _exit, _frameHandler, _lightState, _logicalLayer, _minAlphaBits, _minDepthBits, _minStencilBits, _mouseManager, _physicalLayer, _root, _screenShotExp, _settings, _showBounds, _showDepth, _showNormals, _stereo, _timer, _wireframeState, _worldUp, light, QUIT_VM_ON_EXIT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Initialize pssm pass and scene.static void
The main method.protected void
renderExample
(Renderer renderer) Initialize pssm if needed.protected void
updateExample
(ReadOnlyTimer timer) Update the PassManager and light.Methods inherited from class com.ardor3d.example.ExampleBase
doPick, exit, getAttributes, init, processPicks, quit, registerInputTriggers, renderDebug, renderUnto, run, start, update, updateLogicalLayer
-
Constructor Details
-
ParallelSplitShadowMapExample
public ParallelSplitShadowMapExample()
-
-
Method Details
-
main
The main method.- Parameters:
args
- the arguments
-
updateExample
Update the PassManager and light.- Overrides:
updateExample
in classExampleBase
- Parameters:
timer
- the application timer
-
renderExample
Initialize pssm if needed. Update light position. Render scene.- Overrides:
renderExample
in classExampleBase
- Parameters:
renderer
- the renderer
-
initExample
protected void initExample()Initialize pssm pass and scene.- Specified by:
initExample
in classExampleBase
-