file REDRayCutoffShader.h

Header of the RED::RayCutoffShader class: performance shader for the ray-tracer. More...

Go to the source code of this file.

Namespaces:

namespaceRED

Classes:

classRayCutoffShader

Defines:

#defineRED_RAY_CUTOFF_SHADER_STRING_ID "CutoffShader"
#defineRED_RSH_RAY_CUTOFF_ALPHA_MASK_MATRIX "red_rsh_ray_cutoff_alpha_mask_matrix"
#defineRED_RSH_RAY_CUTOFF_ALPHA_MASK_TEXTURE "red_rsh_ray_cutoff_alpha_mask_texture"
#defineRED_RSH_RAY_CUTOFF_ALPHA_MASK_THRESHOLD "red_rsh_ray_cutoff_alpha_mask_threshold"
#defineRED_RSH_RAY_CUTOFF_ALPHA_MASK_UV "red_rsh_ray_cutoff_alpha_mask_uv"
#defineRED_RSH_RAY_CUTOFF_FRESNEL "red_rsh_ray_cutoff_fresnel"
#defineRED_RSH_RAY_CUTOFF_OPACITY_COLOR "red_rsh_ray_cutoff_opacity_color"
#defineRED_RSH_RAY_CUTOFF_OPACITY_MATRIX "red_rsh_ray_cutoff_opacity_matrix"
#defineRED_RSH_RAY_CUTOFF_OPACITY_TEXTURE "red_rsh_ray_cutoff_opacity_texture"
#defineRED_RSH_RAY_CUTOFF_OPACITY_UV "red_rsh_ray_cutoff_opacity_uv"
#defineRED_RSH_RAY_CUTOFF_REFLECTION_COLOR "red_rsh_ray_cutoff_reflection_color"
#defineRED_RSH_RAY_CUTOFF_REFLECTION_MATRIX "red_rsh_ray_cutoff_reflection_matrix"
#defineRED_RSH_RAY_CUTOFF_REFLECTION_SAMPLES "red_rsh_ray_cutoff_reflection_samples"
#defineRED_RSH_RAY_CUTOFF_REFLECTION_TEXTURE "red_rsh_ray_cutoff_reflection_texture"
#defineRED_RSH_RAY_CUTOFF_REFLECTION_UV "red_rsh_ray_cutoff_reflection_uv"
#defineRED_RSH_RAY_CUTOFF_REFRACTION_SAMPLES "red_rsh_ray_cutoff_refraction_samples"
#defineRED_RSH_RAY_CUTOFF_SPECULAR_COLOR "red_rsh_ray_cutoff_specular_color"
#defineRED_RSH_RAY_CUTOFF_SPECULAR_MATRIX "red_rsh_ray_cutoff_specular_matrix"
#defineRED_RSH_RAY_CUTOFF_SPECULAR_TEXTURE "red_rsh_ray_cutoff_specular_texture"
#defineRED_RSH_RAY_CUTOFF_SPECULAR_UV "red_rsh_ray_cutoff_specular_uv"

Detailed description:

Header of the RED::RayCutoffShader class: performance shader for the ray-tracer.

Header file describing the RED::RayCutoffShader class. The cutoff shader is a shader that can be used to avoid the propagation and lighting calculations for rays that don't have a significative contribution to the scene.

Defines documentation

#define RED_RAY_CUTOFF_SHADER_STRING_ID "CutoffShader"

Default name of a RED::RayCutoffShader.

#define RED_RSH_RAY_CUTOFF_ALPHA_MASK_MATRIX "red_rsh_ray_cutoff_alpha_mask_matrix"

(RED::Matrix) RED::RayCutoffShader input parameter. Defines the shader alpha masking texture UV transformation matrix.

#define RED_RSH_RAY_CUTOFF_ALPHA_MASK_TEXTURE "red_rsh_ray_cutoff_alpha_mask_texture"

(RED::Object*) RED::RayCutoffShader input parameter. Defines the shader alpha masking texture.

#define RED_RSH_RAY_CUTOFF_ALPHA_MASK_THRESHOLD "red_rsh_ray_cutoff_alpha_mask_threshold"

(RED::MESH_CHANNEL) RED::RayCutoffShader input parameter. Defines the shader alpha masking threshold.

#define RED_RSH_RAY_CUTOFF_ALPHA_MASK_UV "red_rsh_ray_cutoff_alpha_mask_uv"

(RED::MESH_CHANNEL) RED::RayCutoffShader input parameter. Defines the shader alpha masking texture UV channel.

#define RED_RSH_RAY_CUTOFF_FRESNEL "red_rsh_ray_cutoff_fresnel"

(RED::Object*) RED::RayCutoffShader input parameter. Optional Fresnel image.

#define RED_RSH_RAY_CUTOFF_OPACITY_COLOR "red_rsh_ray_cutoff_opacity_color"

(RED::Color) RED::RayCutoffShader input parameter. Defines the shader opacity color.

#define RED_RSH_RAY_CUTOFF_OPACITY_MATRIX "red_rsh_ray_cutoff_opacity_matrix"

(RED::Matrix) RED::RayCutoffShader input parameter. Defines the shader opacity texture UV transformation matrix.

#define RED_RSH_RAY_CUTOFF_OPACITY_TEXTURE "red_rsh_ray_cutoff_opacity_texture"

(RED::Object*) RED::RayCutoffShader input parameter. Defines the shader opacity texture.

#define RED_RSH_RAY_CUTOFF_OPACITY_UV "red_rsh_ray_cutoff_opacity_uv"

(RED::MESH_CHANNEL) RED::RayCutoffShader input parameter. Defines the shader opacity texture UV channel.

#define RED_RSH_RAY_CUTOFF_REFLECTION_COLOR "red_rsh_ray_cutoff_reflection_color"

(RED::Color) RED::RayCutoffShader input parameter. Defines the shader reflection color.

#define RED_RSH_RAY_CUTOFF_REFLECTION_MATRIX "red_rsh_ray_cutoff_reflection_matrix"

(RED::Matrix) RED::RayCutoffShader input parameter. Defines the shader reflection texture UV transformation matrix.

#define RED_RSH_RAY_CUTOFF_REFLECTION_SAMPLES "red_rsh_ray_cutoff_reflection_samples"

(double) RED::RayCutoffShader input parameter. Number of reflection samples.

#define RED_RSH_RAY_CUTOFF_REFLECTION_TEXTURE "red_rsh_ray_cutoff_reflection_texture"

(RED::Object*) RED::RayCutoffShader input parameter. Defines the shader reflection texture.

#define RED_RSH_RAY_CUTOFF_REFLECTION_UV "red_rsh_ray_cutoff_reflection_uv"

(RED::MESH_CHANNEL) RED::RayCutoffShader input parameter. Defines the shader reflection texture UV channel.

#define RED_RSH_RAY_CUTOFF_REFRACTION_SAMPLES "red_rsh_ray_cutoff_refraction_samples"

(double) RED::RayCutoffShader input parameter. Number of refraction samples.

#define RED_RSH_RAY_CUTOFF_SPECULAR_COLOR "red_rsh_ray_cutoff_specular_color"

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

#define RED_RSH_RAY_CUTOFF_SPECULAR_MATRIX "red_rsh_ray_cutoff_specular_matrix"

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

#define RED_RSH_RAY_CUTOFF_SPECULAR_TEXTURE "red_rsh_ray_cutoff_specular_texture"

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

#define RED_RSH_RAY_CUTOFF_SPECULAR_UV "red_rsh_ray_cutoff_specular_uv"

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