Class ParallelSplitShadowMapExample

java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.effect.ParallelSplitShadowMapExample
All Implemented Interfaces:
Scene, Updater, Runnable

public class ParallelSplitShadowMapExample extends ExampleBase
Example showing the parallel split shadow mapping technique. Requires GLSL support.
  • Constructor Details

    • ParallelSplitShadowMapExample

      public ParallelSplitShadowMapExample()
  • Method Details

    • main

      public static void main(String[] args)
      The main method.
      Parameters:
      args - the arguments
    • updateExample

      protected void updateExample(ReadOnlyTimer timer)
      Update the PassManager and light.
      Overrides:
      updateExample in class ExampleBase
      Parameters:
      timer - the application timer
    • renderExample

      protected void renderExample(Renderer renderer)
      Initialize pssm if needed. Update light position. Render scene.
      Overrides:
      renderExample in class ExampleBase
      Parameters:
      renderer - the renderer
    • initExample

      protected void initExample()
      Initialize pssm pass and scene.
      Specified by:
      initExample in class ExampleBase