#include <GlslLighting.hpp>
◆ ScatteringModel()
  
  | 
        
          | C3D_API castor3d::shader::ScatteringModel::ScatteringModel | ( | sdw::ShaderWriter & | writer | ) |  |  | explicit | 
 
 
◆ ~ScatteringModel()
  
  | 
        
          | virtual C3D_API castor3d::shader::ScatteringModel::~ScatteringModel | ( |  | ) |  |  | virtualdefault | 
 
 
◆ computeRadiance()
  
  | 
        
          | virtual C3D_API sdw::Vec3 castor3d::shader::ScatteringModel::computeRadiance | ( | Light const & | light, |  
          |  |  | sdw::Vec3 const & | lightDirection ) const |  | virtual | 
 
 
◆ computeScattering()
  
  | 
        
          | virtual C3D_API void castor3d::shader::ScatteringModel::computeScattering | ( | LightingModel & | lighting, |  
          |  |  | ShadowData const & | shadows, |  
          |  |  | sdw::Int const | shadowMapIndex, |  
          |  |  | sdw::Vec3 const & | radiance, |  
          |  |  | sdw::Float const & | lightIntensity, |  
          |  |  | BlendComponents const & | components, |  
          |  |  | LightSurface const & | lightSurface, |  
          |  |  | sdw::Vec3 | output ) |  | virtual | 
 
 
◆ create()
  
  | 
        
          | static ScatteringModelPtr castor3d::shader::ScatteringModel::create | ( | sdw::ShaderWriter & | writer | ) |  |  | static | 
 
 
◆ initialiseBackground()
◆ m_writer
  
  | 
        
          | sdw::ShaderWriter& castor3d::shader::ScatteringModel::m_writer |  | protected | 
 
 
◆ Name
The documentation for this class was generated from the following file: