Class CameraBlur


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

      • CameraBlur

        public CameraBlur()
    • Method Detail

      • 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)
      • 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>