Castor3D
..
|
Implements Jim Hejl and Richard Burgess-Dawson tone mapping algorithm. More...
Public Member Functions | |
C3D_API | HejlBurgessDawsonToneMapping (Engine &p_engine, Parameters const &p_parameters) |
virtual C3D_API | ~HejlBurgessDawsonToneMapping () |
Destructor. More... | |
Public Member Functions inherited from Castor3D::ToneMapping | |
C3D_API | ToneMapping (eTONE_MAPPING_TYPE p_type, Engine &p_engine, Parameters const &p_parameters) |
Specified constructor. More... | |
virtual C3D_API | ~ToneMapping () |
Destructor. More... | |
C3D_API bool | Initialise () |
Initialises tone mapping shader. More... | |
C3D_API void | Cleanup () |
Cleanup function. More... | |
C3D_API void | Apply (Castor::Size const &p_size, Texture const &p_texture) |
Applies the tone mapping for given HDR texture. More... | |
Static Public Member Functions | |
static C3D_API ToneMappingSPtr | Create (Engine &p_engine, Parameters const &p_parameters) |
Creator function, for the factory. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Castor3D::ToneMapping | |
eTONE_MAPPING_TYPE | m_type |
The tone mapping type. More... | |
ShaderProgramSPtr | m_program |
The Reinhard tone mapping shader program. More... | |
float | m_exposure |
The exposure value. More... | |
OneFloatFrameVariableSPtr | m_exposureVar |
The exposure shader variable. More... | |
Static Protected Attributes inherited from Castor3D::ToneMapping | |
static Castor::String const | HdrConfig |
The configuration constants buffer name. More... | |
static Castor::String const | Exposure |
The exposure constant name. More... | |
Implements Jim Hejl and Richard Burgess-Dawson tone mapping algorithm.
C3D_API Castor3D::HejlBurgessDawsonToneMapping::HejlBurgessDawsonToneMapping | ( | Engine & | p_engine, |
Parameters const & | p_parameters | ||
) |
Specified constructor
[in] | p_engine | The engine. |
[in] | p_parameters | The implementation specific parameters. |
|
virtual |
Destructor.
|
static |
Creator function, for the factory.
[in] | p_engine | The engine. |
[in] | p_parameters | The implementation specific parameters. |