Step to apply post-processing filter to the rendered image.
Definition secondstage.h:14
u32 shader_id
Definition secondstage.h:38
void setRenderSource(RenderSource *source) override
Assigns render source to this step.
Definition secondstage.cpp:35
PostProcessingStep(u32 shader_id, const std::vector< u8 > &texture_map)
Construct a new PostProcessingStep object.
Definition secondstage.cpp:14
void setBilinearFilter(u8 index, bool value)
Configure bilinear filtering for a specific texture layer.
Definition secondstage.cpp:78
void configureMaterial()
Definition secondstage.cpp:21
RenderTarget * target
Definition secondstage.h:41
RenderSource * source
Definition secondstage.h:40
std::vector< u8 > texture_map
Definition secondstage.h:39
video::SMaterial material
Definition secondstage.h:42
void setRenderTarget(RenderTarget *target) override
Assigned render target to this step.
Definition secondstage.cpp:40
void reset(PipelineContext &context) override
Definition secondstage.cpp:45
void run(PipelineContext &context) override
Runs the step.
Definition secondstage.cpp:49
Render Pipeline provides a flexible way to execute rendering steps in the engine.
Definition pipeline.h:353
Represents a source of rendering information such as textures.
Definition pipeline.h:60
Base class for rendering steps in the pipeline.
Definition pipeline.h:284
Represents a render target (screen or framebuffer)
Definition pipeline.h:78
Definition secondstage.h:49
ResolveMSAAStep(TextureBufferOutput *_msaa_fbo, TextureBufferOutput *_target_fbo)
Definition secondstage.h:51
void run(PipelineContext &context) override
Runs the step.
Definition secondstage.cpp:270
TextureBufferOutput * msaa_fbo
Definition secondstage.h:56
TextureBufferOutput * target_fbo
Definition secondstage.h:57
Targets output to designated texture in texture buffer.
Definition pipeline.h:171
Provides default empty implementation of supporting methods in a rendering step.
Definition pipeline.h:310
core::vector2d< f32 > v2f
Definition irr_v2d.h:11
Definition activeobjectmgr.cpp:11
RenderStep * addPostProcessing(RenderPipeline *pipeline, RenderStep *previousStep, v2f scale, Client *client)
Definition secondstage.cpp:85