Castor3D 0.14.0
Multiplatform 3D engine
|
#include <GlslCookTorranceBRDF.hpp>
Fonctions membres publiques | |
C3D_API | CookTorranceBRDF (sdw::ShaderWriter &writer, Utils &utils, BRDFHelpers &brdf) |
C3D_API sdw::RetVec3 | compute (sdw::Vec3 const &radiance, sdw::Vec2 const &intensity, sdw::Float const &HdotV, sdw::Float const &NdotH, sdw::Float const &NdotV, sdw::Float const &NdotL, sdw::Vec3 const &f0, sdw::Float const &metalness, sdw::Float const &roughness, Surface surface, OutputComponents &output) |
C3D_API sdw::RetVec3 | compute (Light const &light, sdw::Float const &HdotV, sdw::Float const &NdotH, sdw::Float const &NdotV, sdw::Float const &NdotL, sdw::Vec3 const &f0, sdw::Float const &metalness, sdw::Float const &roughness, Surface surface, OutputComponents &output) |
C3D_API sdw::RetVec3 | compute (sdw::Vec3 const &radiance, sdw::Vec2 const &intensity, sdw::Float const &HdotV, sdw::Float const &NdotH, sdw::Float const &NdotV, sdw::Float const &NdotL, sdw::Vec3 const &f0, sdw::Float const &metalness, sdw::Float const &roughness, sdw::Vec3 const &iridescenceFresnel, sdw::Float const &iridescenceFactor, Surface surface, OutputComponents &output) |
C3D_API sdw::RetVec3 | compute (Light const &light, sdw::Float const &HdotV, sdw::Float const &NdotH, sdw::Float const &NdotV, sdw::Float const &NdotL, sdw::Vec3 const &f0, sdw::Float const &metalness, sdw::Float const &roughness, sdw::Vec3 const &iridescenceFresnel, sdw::Float const &iridescenceFactor, Surface surface, OutputComponents &output) |
C3D_API void | computeAON (Light const &light, sdw::Float const &HdotV, sdw::Float const &NdotH, sdw::Float const &NdotV, sdw::Float const &NdotL, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &roughness, sdw::Float const &smoothBand, Surface surface, OutputComponents &output) |
C3D_API void | computeAON (Light const &light, sdw::Float const &HdotV, sdw::Float const &NdotH, sdw::Float const &NdotV, sdw::Float const &NdotL, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &roughness, sdw::Float const &smoothBand, sdw::Vec3 const &iridescenceFresnel, sdw::Float const &iridescenceFactor, Surface surface, OutputComponents &output) |
C3D_API sdw::RetVec3 | computeSpecular (Light const &light, sdw::Float const &HdotV, sdw::Float const &NdotH, sdw::Float const &NdotV, sdw::Float const &NdotL, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &roughness, sdw::Vec3 const &position, sdw::Vec3 const &normal) |
C3D_API sdw::Vec3 | computeDiffuse (sdw::Vec3 const &colour, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, Surface surface) |
C3D_API sdw::Vec3 | computeDiffuse (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, Surface surface) |
C3D_API sdw::Vec3 | computeDiffuseAON (sdw::Vec3 const &colour, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &smoothBand, Surface surface) |
C3D_API sdw::Vec3 | computeDiffuseAON (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &smoothBand, Surface surface) |
|
explicit |
C3D_API sdw::RetVec3 castor3d::shader::CookTorranceBRDF::compute | ( | Light const & | light, |
sdw::Float const & | HdotV, | ||
sdw::Float const & | NdotH, | ||
sdw::Float const & | NdotV, | ||
sdw::Float const & | NdotL, | ||
sdw::Vec3 const & | f0, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | roughness, | ||
sdw::Vec3 const & | iridescenceFresnel, | ||
sdw::Float const & | iridescenceFactor, | ||
Surface | surface, | ||
OutputComponents & | output | ||
) |
C3D_API sdw::RetVec3 castor3d::shader::CookTorranceBRDF::compute | ( | Light const & | light, |
sdw::Float const & | HdotV, | ||
sdw::Float const & | NdotH, | ||
sdw::Float const & | NdotV, | ||
sdw::Float const & | NdotL, | ||
sdw::Vec3 const & | f0, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | roughness, | ||
Surface | surface, | ||
OutputComponents & | output | ||
) |
C3D_API sdw::RetVec3 castor3d::shader::CookTorranceBRDF::compute | ( | sdw::Vec3 const & | radiance, |
sdw::Vec2 const & | intensity, | ||
sdw::Float const & | HdotV, | ||
sdw::Float const & | NdotH, | ||
sdw::Float const & | NdotV, | ||
sdw::Float const & | NdotL, | ||
sdw::Vec3 const & | f0, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | roughness, | ||
sdw::Vec3 const & | iridescenceFresnel, | ||
sdw::Float const & | iridescenceFactor, | ||
Surface | surface, | ||
OutputComponents & | output | ||
) |
C3D_API sdw::RetVec3 castor3d::shader::CookTorranceBRDF::compute | ( | sdw::Vec3 const & | radiance, |
sdw::Vec2 const & | intensity, | ||
sdw::Float const & | HdotV, | ||
sdw::Float const & | NdotH, | ||
sdw::Float const & | NdotV, | ||
sdw::Float const & | NdotL, | ||
sdw::Vec3 const & | f0, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | roughness, | ||
Surface | surface, | ||
OutputComponents & | output | ||
) |
C3D_API void castor3d::shader::CookTorranceBRDF::computeAON | ( | Light const & | light, |
sdw::Float const & | HdotV, | ||
sdw::Float const & | NdotH, | ||
sdw::Float const & | NdotV, | ||
sdw::Float const & | NdotL, | ||
sdw::Vec3 const & | specular, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | roughness, | ||
sdw::Float const & | smoothBand, | ||
sdw::Vec3 const & | iridescenceFresnel, | ||
sdw::Float const & | iridescenceFactor, | ||
Surface | surface, | ||
OutputComponents & | output | ||
) |
C3D_API void castor3d::shader::CookTorranceBRDF::computeAON | ( | Light const & | light, |
sdw::Float const & | HdotV, | ||
sdw::Float const & | NdotH, | ||
sdw::Float const & | NdotV, | ||
sdw::Float const & | NdotL, | ||
sdw::Vec3 const & | specular, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | roughness, | ||
sdw::Float const & | smoothBand, | ||
Surface | surface, | ||
OutputComponents & | output | ||
) |
C3D_API sdw::Vec3 castor3d::shader::CookTorranceBRDF::computeDiffuse | ( | Light const & | light, |
sdw::Vec3 const & | worldEye, | ||
sdw::Vec3 const & | direction, | ||
sdw::Vec3 const & | specular, | ||
sdw::Float const & | metalness, | ||
Surface | surface | ||
) |
C3D_API sdw::Vec3 castor3d::shader::CookTorranceBRDF::computeDiffuse | ( | sdw::Vec3 const & | colour, |
sdw::Vec3 const & | worldEye, | ||
sdw::Vec3 const & | direction, | ||
sdw::Vec3 const & | specular, | ||
sdw::Float const & | metalness, | ||
Surface | surface | ||
) |
C3D_API sdw::Vec3 castor3d::shader::CookTorranceBRDF::computeDiffuseAON | ( | Light const & | light, |
sdw::Vec3 const & | worldEye, | ||
sdw::Vec3 const & | direction, | ||
sdw::Vec3 const & | specular, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | smoothBand, | ||
Surface | surface | ||
) |
C3D_API sdw::Vec3 castor3d::shader::CookTorranceBRDF::computeDiffuseAON | ( | sdw::Vec3 const & | colour, |
sdw::Vec3 const & | worldEye, | ||
sdw::Vec3 const & | direction, | ||
sdw::Vec3 const & | specular, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | smoothBand, | ||
Surface | surface | ||
) |
C3D_API sdw::RetVec3 castor3d::shader::CookTorranceBRDF::computeSpecular | ( | Light const & | light, |
sdw::Float const & | HdotV, | ||
sdw::Float const & | NdotH, | ||
sdw::Float const & | NdotV, | ||
sdw::Float const & | NdotL, | ||
sdw::Vec3 const & | specular, | ||
sdw::Float const & | metalness, | ||
sdw::Float const & | roughness, | ||
sdw::Vec3 const & | position, | ||
sdw::Vec3 const & | normal | ||
) |