java.lang.Object
gaiasky.util.gdx.contrib.postprocess.filters.Filter<CameraBlur>
gaiasky.util.gdx.contrib.postprocess.filters.CameraBlur

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(com.badlogic.gdx.graphics.Texture 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()
      Description copied from class: Filter
      FIXME add comment
      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>