#include <GlslShadow.hpp>
|
| C3D_API | Shadow (ShadowOptions shadowOptions, sdw::ShaderWriter &writer) |
| |
| C3D_API void | declare (uint32_t &index, uint32_t set) |
| |
| C3D_API void | declareDirectional (uint32_t &index, uint32_t set) |
| |
| C3D_API void | declarePoint (uint32_t &index, uint32_t set) |
| |
| C3D_API void | declareSpot (uint32_t &index, uint32_t set) |
| |
| C3D_API sdw::Float | computeDirectional (shader::Light const &light, Surface const &surface, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection, sdw::UInt const &cascadeIndex, sdw::UInt const &maxCascade) |
| |
| C3D_API sdw::Float | computeSpot (shader::Light const &light, Surface const &surface, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection) |
| |
| C3D_API sdw::Float | computePoint (shader::Light const &light, Surface const &surface, sdw::Vec3 const &lightDirection) |
| |
| C3D_API void | computeVolumetric (shader::Light const &light, Surface const &surface, sdw::Vec3 const &eyePosition, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection, sdw::UInt const &cascadeIndex, sdw::UInt const &maxCascade, OutputComponents &parentOutput) |
| |
| C3D_API sdw::Vec4 | getLightSpacePosition (sdw::Mat4 const &lightMatrix, sdw::Vec3 const &worldSpacePosition) |
| |
| bool | isEnabled () const |
| |
◆ Shadow()
| C3D_API castor3d::shader::Shadow::Shadow |
( |
ShadowOptions |
shadowOptions, |
|
|
sdw::ShaderWriter & |
writer |
|
) |
| |
◆ computeDirectional()
| C3D_API sdw::Float castor3d::shader::Shadow::computeDirectional |
( |
shader::Light const & |
light, |
|
|
Surface const & |
surface, |
|
|
sdw::Mat4 const & |
lightMatrix, |
|
|
sdw::Vec3 const & |
lightDirection, |
|
|
sdw::UInt const & |
cascadeIndex, |
|
|
sdw::UInt const & |
maxCascade |
|
) |
| |
◆ computePoint()
| C3D_API sdw::Float castor3d::shader::Shadow::computePoint |
( |
shader::Light const & |
light, |
|
|
Surface const & |
surface, |
|
|
sdw::Vec3 const & |
lightDirection |
|
) |
| |
◆ computeSpot()
| C3D_API sdw::Float castor3d::shader::Shadow::computeSpot |
( |
shader::Light const & |
light, |
|
|
Surface const & |
surface, |
|
|
sdw::Mat4 const & |
lightMatrix, |
|
|
sdw::Vec3 const & |
lightDirection |
|
) |
| |
◆ computeVolumetric()
| C3D_API void castor3d::shader::Shadow::computeVolumetric |
( |
shader::Light const & |
light, |
|
|
Surface const & |
surface, |
|
|
sdw::Vec3 const & |
eyePosition, |
|
|
sdw::Mat4 const & |
lightMatrix, |
|
|
sdw::Vec3 const & |
lightDirection, |
|
|
sdw::UInt const & |
cascadeIndex, |
|
|
sdw::UInt const & |
maxCascade, |
|
|
OutputComponents & |
parentOutput |
|
) |
| |
◆ declare()
| C3D_API void castor3d::shader::Shadow::declare |
( |
uint32_t & |
index, |
|
|
uint32_t |
set |
|
) |
| |
◆ declareDirectional()
| C3D_API void castor3d::shader::Shadow::declareDirectional |
( |
uint32_t & |
index, |
|
|
uint32_t |
set |
|
) |
| |
◆ declarePoint()
| C3D_API void castor3d::shader::Shadow::declarePoint |
( |
uint32_t & |
index, |
|
|
uint32_t |
set |
|
) |
| |
◆ declareSpot()
| C3D_API void castor3d::shader::Shadow::declareSpot |
( |
uint32_t & |
index, |
|
|
uint32_t |
set |
|
) |
| |
◆ getLightSpacePosition()
| C3D_API sdw::Vec4 castor3d::shader::Shadow::getLightSpacePosition |
( |
sdw::Mat4 const & |
lightMatrix, |
|
|
sdw::Vec3 const & |
worldSpacePosition |
|
) |
| |
◆ 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 |
The documentation for this class was generated from the following file: