|
C3D_API | Shadow (ShadowOptions shadowOptions, sdw::ShaderWriter &writer, Utils &utils) |
|
C3D_API void | declare (uint32_t &index) |
|
C3D_API void | declareDirectional (uint32_t &index) |
|
C3D_API void | declarePoint (uint32_t &index) |
|
C3D_API void | declareSpot (uint32_t &index) |
|
C3D_API sdw::Float | computeDirectional (shader::Light light, Surface surface, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection, sdw::UInt const &cascadeIndex, sdw::UInt const &maxCascade) const |
|
C3D_API sdw::Float | computeSpot (shader::Light light, Surface surface, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection) const |
|
C3D_API sdw::Float | computePoint (shader::Light light, Surface surface, sdw::Vec3 const &lightDirection) const |
|
C3D_API void | computeVolumetric (shader::Light light, Surface surface, sdw::Vec3 const &eyePosition, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection, sdw::UInt const &cascadeIndex, sdw::UInt const &maxCascade, OutputComponents &parentOutput) const |
|
C3D_API sdw::Vec4 | getLightSpacePosition (sdw::Mat4 const &lightMatrix, sdw::Vec3 const &worldSpacePosition) const |
|
bool | isEnabled () const |
|
◆ Shadow()
◆ computeDirectional()
C3D_API sdw::Float castor3d::shader::Shadow::computeDirectional |
( |
shader::Light |
light, |
|
|
Surface |
surface, |
|
|
sdw::Mat4 const & |
lightMatrix, |
|
|
sdw::Vec3 const & |
lightDirection, |
|
|
sdw::UInt const & |
cascadeIndex, |
|
|
sdw::UInt const & |
maxCascade |
|
) |
| const |
◆ computePoint()
C3D_API sdw::Float castor3d::shader::Shadow::computePoint |
( |
shader::Light |
light, |
|
|
Surface |
surface, |
|
|
sdw::Vec3 const & |
lightDirection |
|
) |
| const |
◆ computeSpot()
C3D_API sdw::Float castor3d::shader::Shadow::computeSpot |
( |
shader::Light |
light, |
|
|
Surface |
surface, |
|
|
sdw::Mat4 const & |
lightMatrix, |
|
|
sdw::Vec3 const & |
lightDirection |
|
) |
| const |
◆ computeVolumetric()
C3D_API void castor3d::shader::Shadow::computeVolumetric |
( |
shader::Light |
light, |
|
|
Surface |
surface, |
|
|
sdw::Vec3 const & |
eyePosition, |
|
|
sdw::Mat4 const & |
lightMatrix, |
|
|
sdw::Vec3 const & |
lightDirection, |
|
|
sdw::UInt const & |
cascadeIndex, |
|
|
sdw::UInt const & |
maxCascade, |
|
|
OutputComponents & |
parentOutput |
|
) |
| const |
◆ declare()
C3D_API void castor3d::shader::Shadow::declare |
( |
uint32_t & |
index | ) |
|
◆ declareDirectional()
C3D_API void castor3d::shader::Shadow::declareDirectional |
( |
uint32_t & |
index | ) |
|
◆ declarePoint()
C3D_API void castor3d::shader::Shadow::declarePoint |
( |
uint32_t & |
index | ) |
|
◆ declareSpot()
C3D_API void castor3d::shader::Shadow::declareSpot |
( |
uint32_t & |
index | ) |
|
◆ getLightSpacePosition()
C3D_API sdw::Vec4 castor3d::shader::Shadow::getLightSpacePosition |
( |
sdw::Mat4 const & |
lightMatrix, |
|
|
sdw::Vec3 const & |
worldSpacePosition |
|
) |
| const |
◆ isEnabled()
bool castor3d::shader::Shadow::isEnabled |
( |
| ) |
const |
|
inline |
◆ MapFluxDirectional
C3D_API castor::String const castor3d::shader::Shadow::MapFluxDirectional |
|
static |
◆ MapFluxPoint
C3D_API castor::String const castor3d::shader::Shadow::MapFluxPoint |
|
static |
◆ MapFluxSpot
C3D_API castor::String const castor3d::shader::Shadow::MapFluxSpot |
|
static |
◆ MapNormalDepthDirectional
C3D_API castor::String const castor3d::shader::Shadow::MapNormalDepthDirectional |
|
static |
◆ MapNormalDepthPoint
C3D_API castor::String const castor3d::shader::Shadow::MapNormalDepthPoint |
|
static |
◆ MapNormalDepthSpot
C3D_API castor::String const castor3d::shader::Shadow::MapNormalDepthSpot |
|
static |
◆ MapPositionDirectional
C3D_API castor::String const castor3d::shader::Shadow::MapPositionDirectional |
|
static |
◆ MapPositionPoint
C3D_API castor::String const castor3d::shader::Shadow::MapPositionPoint |
|
static |
◆ MapPositionSpot
C3D_API castor::String const castor3d::shader::Shadow::MapPositionSpot |
|
static |
◆ MapVarianceDirectional
C3D_API castor::String const castor3d::shader::Shadow::MapVarianceDirectional |
|
static |
◆ MapVariancePoint
C3D_API castor::String const castor3d::shader::Shadow::MapVariancePoint |
|
static |
◆ MapVarianceSpot
C3D_API castor::String const castor3d::shader::Shadow::MapVarianceSpot |
|
static |
La documentation de cette classe a été générée à partir du fichier suivant :