Sets the distance at which objects are purely in focus.
public float getFocusDistance()
returns the focus distance
public void setFocusRange(float f)
Sets the range to either side of focusDistance where the
objects go gradually out of focus. Less than focusDistance - focusRange
and greater than focusDistance + focusRange, objects are maximally "blurred".
public float getFocusRange()
returns the focus range
public void setBlurScale(float f)
Sets the blur amount by scaling the convolution filter up or
down. A value of 1 (the default) performs a sparse 5x5 evenly
distribubted convolution at pixel level accuracy. Higher values skip
more pixels, and so on until you are no longer blurring the image
but simply hashing it.
The sparse convolution is as follows:
Where 'x' is the texel being modified. Setting blur scale higher
than 1 spaces the samples out.
public float getBlurScale()
returns the blur scale
public void write(JmeExporter ex)