mib_glossy_refraction_phong_phen

 
 
 

Category: mental ray > Materials

Shader Family: Surface Material

Output: Color

This shader is very similar to the mib_glossy_refraction shader, but has a few differences. Since it deals with refraction, it has a "deep material" rather than an environment.

The mib_glossy_refraction_phong_phen shader implements a built-in Phong shading, instead of the shading model being driven by illumination shaders of your choice as with the mib_glossy_refraction shader (refer to this shader for all parameter descriptions). Instead of picking a top_material shader, you must set actual values for the ambient, diffuse, and specular color, and a specular decay (exponent). Similarly, the deep_material shader is replaced by a deep_diffuse color. You can also pick which lights in the scene will contribute to the effect.

The parameters that are unique to this shader are discussed further in the table below.

Name

The name of the shader node displayed in the render tree. Enter any name you like, or leave the default.

ambient

Defines the ambient color (indirect illumination) of the "top layer" of the object.

diffuse

Defines the diffuse color of the "top layer" of the object. The value is blended with the ambient value.

specular

Defines the specular color of the "top layer" of the object. The value is blended with the object's diffuse and ambient values.

exponent

Defines the rate at which the specularity decays outward.

deep_diffuse

Only used if max_distance is set to a non-zero value.

Defines the diffuse color of the "deep layer" or "interior" of the object, and the color to which refractions fade as they reach the max_distance. While the color is still calculated at the surface, it will appear to be behind any refraction of internal objects.

mode

The mode selector for the light list. For more information, see Setting the Light List Mode [Direct Illumination].

Lights

Creates a light list to specifiy which lights should produce the effect. For more information, see Using Light Lists [Direct Illumination].