Castor3D  ..
Fonctions
Référence de l'espace de nommage castor3d::shader::pbr::sg

Fonctions

C3D_API void computePreLightingMapContributions (glsl::GlslWriter &writer, glsl::Vec3 &normal, glsl::Vec3 &specular, glsl::Float &glossiness, TextureChannels const &textureFlags, ProgramFlags const &programFlags, SceneFlags const &sceneFlags, PassFlags const &passFlags)
 
C3D_API void computePostLightingMapContributions (glsl::GlslWriter &writer, glsl::Vec3 &diffuse, glsl::Vec3 &emissive, glsl::Float const &gamma, TextureChannels const &textureFlags, ProgramFlags const &programFlags, SceneFlags const &sceneFlags)
 
C3D_API std::shared_ptr< SpecularBrdfLightingModelcreateLightingModel (glsl::GlslWriter &writer, ShadowType shadows, uint32_t &index)
 
C3D_API std::shared_ptr< SpecularBrdfLightingModelcreateLightingModel (glsl::GlslWriter &writer, LightType light, ShadowType shadows, uint32_t &index)
 

Documentation des fonctions

◆ computePostLightingMapContributions()

C3D_API void castor3d::shader::pbr::sg::computePostLightingMapContributions ( glsl::GlslWriter &  writer,
glsl::Vec3 &  diffuse,
glsl::Vec3 &  emissive,
glsl::Float const &  gamma,
TextureChannels const &  textureFlags,
ProgramFlags const &  programFlags,
SceneFlags const &  sceneFlags 
)

◆ computePreLightingMapContributions()

C3D_API void castor3d::shader::pbr::sg::computePreLightingMapContributions ( glsl::GlslWriter &  writer,
glsl::Vec3 &  normal,
glsl::Vec3 &  specular,
glsl::Float &  glossiness,
TextureChannels const &  textureFlags,
ProgramFlags const &  programFlags,
SceneFlags const &  sceneFlags,
PassFlags const &  passFlags 
)

◆ createLightingModel() [1/2]

C3D_API std::shared_ptr< SpecularBrdfLightingModel > castor3d::shader::pbr::sg::createLightingModel ( glsl::GlslWriter &  writer,
ShadowType  shadows,
uint32_t &  index 
)

◆ createLightingModel() [2/2]

C3D_API std::shared_ptr< SpecularBrdfLightingModel > castor3d::shader::pbr::sg::createLightingModel ( glsl::GlslWriter &  writer,
LightType  light,
ShadowType  shadows,
uint32_t &  index 
)