|
C3D_API | PhongReflectionModel (sdw::ShaderWriter &writer, Utils &utils) |
|
C3D_API sdw::Vec3 | computeIncident (sdw::Vec3 const &wsPosition, sdw::Vec3 const &wsCamera) const |
|
C3D_API sdw::Vec3 | computeRefl (sdw::Vec3 const &wsIncident, sdw::Vec3 const &wsNormal, sdw::SampledImageCubeRgba32 const &envMap, sdw::Float const &shininess, sdw::Vec3 const &specular) const |
|
C3D_API void | computeRefr (sdw::Vec3 const &wsIncident, sdw::Vec3 const &wsNormal, sdw::SampledImageCubeRgba32 const &envMap, sdw::Float const &refractionRatio, sdw::Vec3 const &transmission, sdw::Float const &shininess, sdw::Vec3 &reflection, sdw::Vec3 &refraction) const |
|
C3D_API void | computeReflRefr (sdw::Vec3 const &wsIncident, sdw::Vec3 const &wsNormal, sdw::SampledImageCubeRgba32 const &envMap, sdw::Float const &refractionRatio, sdw::Vec3 const &specular, sdw::Vec3 const &transmission, sdw::Float const &shininess, sdw::Vec3 &reflection, sdw::Vec3 &refraction) const |
|
|
sdw::ShaderWriter & | m_writer |
|
Utils & | m_utils |
|
sdw::Function< sdw::Vec3, sdw::InVec3, sdw::InVec3 > | m_computeIncident |
|
sdw::Function< sdw::Vec3, sdw::InVec3, sdw::InVec3, sdw::InSampledImageCubeRgba32, sdw::InFloat, sdw::InVec3 > | m_computeRefl |
|
sdw::Function< sdw::Void, sdw::InVec3, sdw::InVec3, sdw::InSampledImageCubeRgba32, sdw::InFloat, sdw::InVec3, sdw::InFloat, sdw::InOutVec3, sdw::OutVec3 > | m_computeRefr |
|
sdw::Function< sdw::Void, sdw::InVec3, sdw::InVec3, sdw::InSampledImageCubeRgba32, sdw::InFloat, sdw::InVec3, sdw::InVec3, sdw::InFloat, sdw::OutVec3, sdw::OutVec3 > | m_computeReflRefr |
|
◆ PhongReflectionModel()
C3D_API castor3d::shader::PhongReflectionModel::PhongReflectionModel |
( |
sdw::ShaderWriter & |
writer, |
|
|
Utils & |
utils |
|
) |
| |
|
explicit |
◆ computeIncident()
C3D_API sdw::Vec3 castor3d::shader::PhongReflectionModel::computeIncident |
( |
sdw::Vec3 const & |
wsPosition, |
|
|
sdw::Vec3 const & |
wsCamera |
|
) |
| const |
◆ computeRefl()
C3D_API sdw::Vec3 castor3d::shader::PhongReflectionModel::computeRefl |
( |
sdw::Vec3 const & |
wsIncident, |
|
|
sdw::Vec3 const & |
wsNormal, |
|
|
sdw::SampledImageCubeRgba32 const & |
envMap, |
|
|
sdw::Float const & |
shininess, |
|
|
sdw::Vec3 const & |
specular |
|
) |
| const |
◆ computeReflRefr()
C3D_API void castor3d::shader::PhongReflectionModel::computeReflRefr |
( |
sdw::Vec3 const & |
wsIncident, |
|
|
sdw::Vec3 const & |
wsNormal, |
|
|
sdw::SampledImageCubeRgba32 const & |
envMap, |
|
|
sdw::Float const & |
refractionRatio, |
|
|
sdw::Vec3 const & |
specular, |
|
|
sdw::Vec3 const & |
transmission, |
|
|
sdw::Float const & |
shininess, |
|
|
sdw::Vec3 & |
reflection, |
|
|
sdw::Vec3 & |
refraction |
|
) |
| const |
◆ computeRefr()
C3D_API void castor3d::shader::PhongReflectionModel::computeRefr |
( |
sdw::Vec3 const & |
wsIncident, |
|
|
sdw::Vec3 const & |
wsNormal, |
|
|
sdw::SampledImageCubeRgba32 const & |
envMap, |
|
|
sdw::Float const & |
refractionRatio, |
|
|
sdw::Vec3 const & |
transmission, |
|
|
sdw::Float const & |
shininess, |
|
|
sdw::Vec3 & |
reflection, |
|
|
sdw::Vec3 & |
refraction |
|
) |
| const |
◆ m_computeIncident
sdw::Function< sdw::Vec3 , sdw::InVec3 , sdw::InVec3 > castor3d::shader::PhongReflectionModel::m_computeIncident |
◆ m_computeRefl
sdw::Function< sdw::Vec3 , sdw::InVec3 , sdw::InVec3 , sdw::InSampledImageCubeRgba32 , sdw::InFloat , sdw::InVec3 > castor3d::shader::PhongReflectionModel::m_computeRefl |
◆ m_computeReflRefr
sdw::Function< sdw::Void , sdw::InVec3 , sdw::InVec3 , sdw::InSampledImageCubeRgba32 , sdw::InFloat , sdw::InVec3 , sdw::InVec3 , sdw::InFloat , sdw::OutVec3 , sdw::OutVec3 > castor3d::shader::PhongReflectionModel::m_computeReflRefr |
◆ m_computeRefr
sdw::Function< sdw::Void , sdw::InVec3 , sdw::InVec3 , sdw::InSampledImageCubeRgba32 , sdw::InFloat , sdw::InVec3 , sdw::InFloat , sdw::InOutVec3 , sdw::OutVec3 > castor3d::shader::PhongReflectionModel::m_computeRefr |
◆ m_utils
Utils& castor3d::shader::PhongReflectionModel::m_utils |
◆ m_writer
sdw::ShaderWriter& castor3d::shader::PhongReflectionModel::m_writer |
La documentation de cette classe a été générée à partir du fichier suivant :