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

Fonctions

C3D_API void computePreLightingMapContributions (glsl::GlslWriter &writer, glsl::Vec3 &p_normal, glsl::Float &p_shininess, TextureChannels const &textureFlags, ProgramFlags const &programFlags, SceneFlags const &sceneFlags, PassFlags const &passFlags)
 
C3D_API void computePostLightingMapContributions (glsl::GlslWriter &writer, glsl::Vec3 &p_diffuse, glsl::Vec3 &p_specular, glsl::Vec3 &p_emissive, glsl::Float const &p_gamma, TextureChannels const &textureFlags, ProgramFlags const &programFlags, SceneFlags const &sceneFlags)
 
C3D_API std::shared_ptr< PhongLightingModelcreateLightingModel (glsl::GlslWriter &writer, ShadowType shadows, uint32_t &index)
 
C3D_API std::shared_ptr< PhongLightingModelcreateLightingModel (glsl::GlslWriter &writer, LightType light, ShadowType shadows, uint32_t &index)
 

Documentation des fonctions

◆ computePostLightingMapContributions()

C3D_API void castor3d::shader::legacy::computePostLightingMapContributions ( glsl::GlslWriter &  writer,
glsl::Vec3 &  p_diffuse,
glsl::Vec3 &  p_specular,
glsl::Vec3 &  p_emissive,
glsl::Float const &  p_gamma,
TextureChannels const &  textureFlags,
ProgramFlags const &  programFlags,
SceneFlags const &  sceneFlags 
)

◆ computePreLightingMapContributions()

C3D_API void castor3d::shader::legacy::computePreLightingMapContributions ( glsl::GlslWriter &  writer,
glsl::Vec3 &  p_normal,
glsl::Float &  p_shininess,
TextureChannels const &  textureFlags,
ProgramFlags const &  programFlags,
SceneFlags const &  sceneFlags,
PassFlags const &  passFlags 
)

◆ createLightingModel() [1/2]

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

◆ createLightingModel() [2/2]

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