public final class CameraBlur extends Filter<CameraBlur>
Camera blur that relies on a precomputed velocity map for the scene
  • Constructor Details

    • CameraBlur

      public CameraBlur()
  • Method Details

    • setVelocityTexture

      public void setVelocityTexture( texture)
    • setBlurMaxSamples

      public void setBlurMaxSamples(int samples)
    • setBlurScale

      public void setBlurScale(float blurScale)
    • setVelocityScale

      public void setVelocityScale(float velScale)
    • setViewport

      public void setViewport(float width, float height)
    • rebind

      public void rebind()
      Specified by:
      rebind in class Filter<CameraBlur>
    • onBeforeRender

      protected void onBeforeRender()
      Description copied from class: Filter
      This method will get called just before a rendering operation occurs.
      Specified by:
      onBeforeRender in class Filter<CameraBlur>