24 HDRM_ReinhardModified,
35 PostProcess(
int hdr_mapping,
bool use_avglum,
bool use_bloom,
bool use_star);
45 virtual void SetupUniform(osg::ref_ptr<osg::StateSet> states);
50 virtual void SetupTextures(osg::ref_ptr<osg::StateSet> states);
61 void AddLUD(std::string path);
66 bool m_use_AVGLuminance;
69 const std::string GetGLSLFragmentShader();
70 const std::string GetGLSLVertexShader();
72 const std::string GetGLSLAssignLUD();
73 const std::string GetGLSLUniformLUD();
74 const std::string GetGLSLFragmentUncharted();
75 const std::string GetGLSLFragmentVignetteFunc();
76 const std::string GetGLSLFragmentMainFunc();
77 const std::string GetHDRMapping();
78 const std::string GetGlare();
79 const std::string GetVignette();
80 const std::string GetSRGB();
82 const std::string GetGLSLFragmentHeader();
84 osg::ref_ptr<osg::Texture2D> m_postprocess;
85 osg::ref_ptr<osg::Texture3D> tex3dlud;
87 std::vector<osg::ref_ptr<osg::Texture3D>> m_lods;