file REDRenderShaderPhong.h

Header of the RED::RenderShaderPhong class. More...

Go to the source code of this file.

Namespaces:

namespaceRED

Classes:

classRenderShaderPhong

Defines:

#defineRED_PHONG_SHADER_INDIRECT_LIT_STRING_ID "Phong_INDIRECT_LIT"
#defineRED_PHONG_SHADER_LIT_STRING_ID "Phong_LIT"
#defineRED_RSH_PHONG_BLINN "red_rsh_phong_blinn"
#defineRED_RSH_PHONG_DIFFUSE_COLOR "red_rsh_phong_diffuse_color"
#defineRED_RSH_PHONG_DIFFUSE_MATRIX "red_rsh_phong_diffuse_matrix"
#defineRED_RSH_PHONG_DIFFUSE_TEXTURE "red_rsh_phong_diffuse_texture"
#defineRED_RSH_PHONG_DIFFUSE_UV "red_rsh_phong_diffuse_uv"
#defineRED_RSH_PHONG_EXPONENT_MATRIX "red_rsh_phong_exponent_matrix"
#defineRED_RSH_PHONG_EXPONENT_RANGE "red_rsh_phong_exponent_range"
#defineRED_RSH_PHONG_EXPONENT_TEXTURE "red_rsh_phong_exponent_texture"
#defineRED_RSH_PHONG_EXPONENT_UV "red_rsh_phong_exponent_uv"
#defineRED_RSH_PHONG_EXPONENT_VALUE "red_rsh_phong_exponent_value"
#defineRED_RSH_PHONG_NORMAL_MAP_MATRIX "red_rsh_phong_normal_map_matrix"
#defineRED_RSH_PHONG_NORMAL_MAP_TEXTURE "red_rsh_phong_normal_map_texture"
#defineRED_RSH_PHONG_NORMAL_MAP_UV "red_rsh_phong_normal_map_uv"
#defineRED_RSH_PHONG_RENDER_PASS "red_rsh_phong_render_pass"
#defineRED_RSH_PHONG_SOFTEN "red_rsh_phong_soften"
#defineRED_RSH_PHONG_SPECULAR_COLOR "red_rsh_phong_specular_color"
#defineRED_RSH_PHONG_SPECULAR_MATRIX "red_rsh_phong_specular_matrix"
#defineRED_RSH_PHONG_SPECULAR_TEXTURE "red_rsh_phong_specular_texture"
#defineRED_RSH_PHONG_SPECULAR_UV "red_rsh_phong_specular_uv"
#defineRED_RSH_PHONG_TANGENT_CHANNEL "red_rsh_phong_tangent_channel"
#defineRED_RSH_PHONG_TRANSPAR_COLOR "red_rsh_phong_transpar_color"
#defineRED_RSH_PHONG_TRANSPAR_MATRIX "red_rsh_phong_transpar_matrix"
#defineRED_RSH_PHONG_TRANSPAR_TEXTURE "red_rsh_phong_transpar_texture"
#defineRED_RSH_PHONG_TRANSPAR_UV "red_rsh_phong_transpar_uv"

Detailed description:

Header of the RED::RenderShaderPhong class.

Header file describing the RED::RenderShaderPhong class. The phong shader implements the Phong lighting illumination model.

Defines documentation

#define RED_PHONG_SHADER_INDIRECT_LIT_STRING_ID "Phong_INDIRECT_LIT"

Default RED::Object string identifier of a RED::RenderShaderPhong in a pass.

#define RED_PHONG_SHADER_LIT_STRING_ID "Phong_LIT"

Default RED::Object string identifier of a RED::RenderShaderPhong in a pass.

#define RED_RSH_PHONG_BLINN "red_rsh_phong_blinn"

(double) RED::RenderShaderPhong input parameter. Specify to use the Blinn model (true) or the Phong model (false)?

#define RED_RSH_PHONG_DIFFUSE_COLOR "red_rsh_phong_diffuse_color"

(RED::Color) RED::RenderShaderPhong input parameter. Defines the shader diffuse color.

#define RED_RSH_PHONG_DIFFUSE_MATRIX "red_rsh_phong_diffuse_matrix"

(RED::Matrix) RED::RenderShaderPhong input parameter. Defines the shader diffuse texture UV transformation matrix.

#define RED_RSH_PHONG_DIFFUSE_TEXTURE "red_rsh_phong_diffuse_texture"

(RED::Object*) RED::RenderShaderPhong input parameter. Defines the shader diffuse texture.

#define RED_RSH_PHONG_DIFFUSE_UV "red_rsh_phong_diffuse_uv"

(RED::MESH_CHANNEL) RED::RenderShaderPhong input parameter. Defines the shader diffuse texture UV channel.

#define RED_RSH_PHONG_EXPONENT_MATRIX "red_rsh_phong_exponent_matrix"

(RED::Matrix) RED::RenderShaderPhong input parameter. Defines the shader exponent texture UV transformation matrix.

#define RED_RSH_PHONG_EXPONENT_RANGE "red_rsh_phong_exponent_range"

(double) RED::RenderShaderPhong input parameter. Defines the specular exponent texture range of values.

#define RED_RSH_PHONG_EXPONENT_TEXTURE "red_rsh_phong_exponent_texture"

(RED::Object*) RED::RenderShaderPhong input parameter. Defines the shader exponent texture.

#define RED_RSH_PHONG_EXPONENT_UV "red_rsh_phong_exponent_uv"

(RED::MESH_CHANNEL) RED::RenderShaderPhong input parameter. Defines the exponent specular texture UV channel.

#define RED_RSH_PHONG_EXPONENT_VALUE "red_rsh_phong_exponent_value"

(double) RED::RenderShaderPhong input parameter. Defines the specular exponent value.

#define RED_RSH_PHONG_NORMAL_MAP_MATRIX "red_rsh_phong_normal_map_matrix"

(RED::Matrix) RED::RenderShaderPhong input parameter. Defines the shader normal map texture UV transformation matrix.

#define RED_RSH_PHONG_NORMAL_MAP_TEXTURE "red_rsh_phong_normal_map_texture"

(RED::Object*) RED::RenderShaderPhong input parameter. Defines the shader normal map texture.

#define RED_RSH_PHONG_NORMAL_MAP_UV "red_rsh_phong_normal_map_uv"

(RED::MESH_CHANNEL) RED::RenderShaderPhong input parameter. Defines the shader normal map texture UV channel.

#define RED_RSH_PHONG_RENDER_PASS "red_rsh_phong_render_pass"

(RED::MATERIAL_PASS) RED::RenderShaderPhong input parameter. Defines the shader rendering pass.

#define RED_RSH_PHONG_SOFTEN "red_rsh_phong_soften"

(double) RED::RenderShaderPhong input parameter. Defines the specular soften value.

#define RED_RSH_PHONG_SPECULAR_COLOR "red_rsh_phong_specular_color"

(RED::Color) RED::RenderShaderPhong input parameter. Defines the shader specular color.

#define RED_RSH_PHONG_SPECULAR_MATRIX "red_rsh_phong_specular_matrix"

(RED::Matrix) RED::RenderShaderPhong input parameter. Defines the shader specular texture UV transformation matrix.

#define RED_RSH_PHONG_SPECULAR_TEXTURE "red_rsh_phong_specular_texture"

(RED::Object*) RED::RenderShaderPhong input parameter. Defines the shader specular texture.

#define RED_RSH_PHONG_SPECULAR_UV "red_rsh_phong_specular_uv"

(RED::MESH_CHANNEL) RED::RenderShaderPhong input parameter. Defines the shader specular texture UV channel.

#define RED_RSH_PHONG_TANGENT_CHANNEL "red_rsh_phong_tangent_channel"

(RED::MESH_CHANNEL) RED::RenderShaderPhong input parameter. Defines the shader source tangent vectors channel.

#define RED_RSH_PHONG_TRANSPAR_COLOR "red_rsh_phong_transpar_color"

(RED::Color) RED::RenderShaderPhong input parameter. Defines the shader transparency color.

#define RED_RSH_PHONG_TRANSPAR_MATRIX "red_rsh_phong_transpar_matrix"

(RED::Matrix) RED::RenderShaderPhong input parameter. Defines the shader transparency texture UV transformation matrix.

#define RED_RSH_PHONG_TRANSPAR_TEXTURE "red_rsh_phong_transpar_texture"

(RED::Object*) RED::RenderShaderPhong input parameter. Defines the shader transparency texture.

#define RED_RSH_PHONG_TRANSPAR_UV "red_rsh_phong_transpar_uv"

(RED::MESH_CHANNEL) RED::RenderShaderPhong input parameter. Defines the shader transparency texture UV channel.