|
C3D_API | SpecularPbrReflectionModel (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::Vec3 const &specular, sdw::Float const &glossiness) const |
|
C3D_API sdw::Void | computeRefrEnvMap (sdw::Vec3 const &wsIncident, sdw::Vec3 const &wsNormal, sdw::SampledImageCubeRgba32 const &envMap, sdw::Float const &refractionRatio, sdw::Vec3 const &transmission, sdw::Float const &glossiness, sdw::Vec3 &reflection, sdw::Vec3 &refraction) const |
|
C3D_API sdw::Void | computeRefrSkybox (sdw::Vec3 const &wsIncident, sdw::Vec3 const &wsNormal, sdw::SampledImageCubeRgba32 const &envMap, sdw::Float const &refractionRatio, sdw::Vec3 const &transmission, sdw::Float const &glossiness, 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::InVec3, sdw::InFloat > | m_computeRefl |
|
sdw::Function< sdw::Void, sdw::InVec3, sdw::InVec3, sdw::InSampledImageCubeRgba32, sdw::InFloat, sdw::InVec3, sdw::InFloat, sdw::InOutVec3, sdw::OutVec3 > | m_computeRefrEnvMap |
|
sdw::Function< sdw::Void, sdw::InVec3, sdw::InVec3, sdw::InSampledImageCubeRgba32, sdw::InFloat, sdw::InVec3, sdw::InFloat, sdw::InOutVec3, sdw::OutVec3 > | m_computeRefrSkybox |
|
◆ SpecularPbrReflectionModel()
C3D_API castor3d::shader::SpecularPbrReflectionModel::SpecularPbrReflectionModel |
( |
sdw::ShaderWriter & |
writer, |
|
|
Utils & |
utils |
|
) |
| |
◆ computeIncident()
C3D_API sdw::Vec3 castor3d::shader::SpecularPbrReflectionModel::computeIncident |
( |
sdw::Vec3 const & |
wsPosition, |
|
|
sdw::Vec3 const & |
wsCamera |
|
) |
| const |
◆ computeRefl()
C3D_API sdw::Vec3 castor3d::shader::SpecularPbrReflectionModel::computeRefl |
( |
sdw::Vec3 const & |
wsIncident, |
|
|
sdw::Vec3 const & |
wsNormal, |
|
|
sdw::SampledImageCubeRgba32 const & |
envMap, |
|
|
sdw::Vec3 const & |
specular, |
|
|
sdw::Float const & |
glossiness |
|
) |
| const |
◆ computeRefrEnvMap()
C3D_API sdw::Void castor3d::shader::SpecularPbrReflectionModel::computeRefrEnvMap |
( |
sdw::Vec3 const & |
wsIncident, |
|
|
sdw::Vec3 const & |
wsNormal, |
|
|
sdw::SampledImageCubeRgba32 const & |
envMap, |
|
|
sdw::Float const & |
refractionRatio, |
|
|
sdw::Vec3 const & |
transmission, |
|
|
sdw::Float const & |
glossiness, |
|
|
sdw::Vec3 & |
reflection, |
|
|
sdw::Vec3 & |
refraction |
|
) |
| const |
◆ computeRefrSkybox()
C3D_API sdw::Void castor3d::shader::SpecularPbrReflectionModel::computeRefrSkybox |
( |
sdw::Vec3 const & |
wsIncident, |
|
|
sdw::Vec3 const & |
wsNormal, |
|
|
sdw::SampledImageCubeRgba32 const & |
envMap, |
|
|
sdw::Float const & |
refractionRatio, |
|
|
sdw::Vec3 const & |
transmission, |
|
|
sdw::Float const & |
glossiness, |
|
|
sdw::Vec3 & |
reflection, |
|
|
sdw::Vec3 & |
refraction |
|
) |
| const |
◆ m_computeIncident
sdw::Function< sdw::Vec3 , sdw::InVec3 , sdw::InVec3 > castor3d::shader::SpecularPbrReflectionModel::m_computeIncident |
◆ m_computeRefl
sdw::Function< sdw::Vec3 , sdw::InVec3 , sdw::InVec3 , sdw::InSampledImageCubeRgba32 , sdw::InVec3 , sdw::InFloat > castor3d::shader::SpecularPbrReflectionModel::m_computeRefl |
◆ m_computeRefrEnvMap
sdw::Function< sdw::Void , sdw::InVec3 , sdw::InVec3 , sdw::InSampledImageCubeRgba32 , sdw::InFloat , sdw::InVec3 , sdw::InFloat , sdw::InOutVec3 , sdw::OutVec3 > castor3d::shader::SpecularPbrReflectionModel::m_computeRefrEnvMap |
◆ m_computeRefrSkybox
sdw::Function< sdw::Void , sdw::InVec3 , sdw::InVec3 , sdw::InSampledImageCubeRgba32 , sdw::InFloat , sdw::InVec3 , sdw::InFloat , sdw::InOutVec3 , sdw::OutVec3 > castor3d::shader::SpecularPbrReflectionModel::m_computeRefrSkybox |
◆ m_utils
Utils& castor3d::shader::SpecularPbrReflectionModel::m_utils |
◆ m_writer
sdw::ShaderWriter& castor3d::shader::SpecularPbrReflectionModel::m_writer |
La documentation de cette classe a été générée à partir du fichier suivant :