Castor3D 0.14.0
Multiplatform 3D engine
Fonctions membres publiques | Liste de tous les membres
Référence de la classe castor3d::shader::CookTorranceBRDF

#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)
 

Documentation des constructeurs et destructeur

◆ CookTorranceBRDF()

C3D_API castor3d::shader::CookTorranceBRDF::CookTorranceBRDF ( sdw::ShaderWriter &  writer,
Utils utils,
BRDFHelpers brdf 
)
explicit

Documentation des fonctions membres

◆ compute() [1/4]

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 
)

◆ compute() [2/4]

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 
)

◆ compute() [3/4]

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 
)

◆ compute() [4/4]

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 
)

◆ computeAON() [1/2]

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 
)

◆ computeAON() [2/2]

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 
)

◆ computeDiffuse() [1/2]

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 
)

◆ computeDiffuse() [2/2]

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 
)

◆ computeDiffuseAON() [1/2]

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 
)

◆ computeDiffuseAON() [2/2]

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 
)

◆ computeSpecular()

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 
)

La documentation de cette classe a été générée à partir du fichier suivant :