Package postprocess
Class BloomEffect
java.lang.Object
postprocess.PostProcessPipeline
postprocess.BloomEffect
Post Processing Pipeline to apply a bloom effect to a Texture.
-
Constructor Summary
ConstructorDescriptionTo construct a Bloom Effect Pipeline with a bloom of 0.8BloomEffect
(PostProcessStep.Target dest, float bloomAmt) To construct a Bloom Effect Pipeline with a bloom of 0.8 -
Method Summary
-
Constructor Details
-
BloomEffect
To construct a Bloom Effect Pipeline with a bloom of 0.8- Parameters:
dest
- Where the final texture is to be rendered
-
BloomEffect
To construct a Bloom Effect Pipeline with a bloom of 0.8- Parameters:
dest
- Where the final texture is to be renderedbloomAmt
- amount of bloom to be applied
-
-
Method Details
-
init
public void init()Initializes all steps in this pipeline- Specified by:
init
in classPostProcessPipeline
-
apply
Apply the bloom effect and return the final texture if not rendering to the default framebuffer- Specified by:
apply
in classPostProcessPipeline
- Parameters:
input
- input texture to bee processed- Returns:
- the final texture if not rendering to the default framebuffer
-