mi_metallic_paint_output_mixer
 
 
 

Category: mental ray > Texture

Shader Family: Texture

Multiple Outputs: Color and Vector

This shader is used to mix the car paint layers (metallic paint layer and clearcoat reflections layer) with a Lambertian dirt layer.

To accomplish a full car paint effect, you can combine this shader with mib_glossy_reflection, mi_metallic_paint, and mi_bump_flakes shaders. To get all these connections automatically, use the mi_car_paint_phen shader.

Name

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

paint

Pick the surface material shader to be used as the car paint color.

reflection_color

The color of the reflections in the clearcoat layer of the car paint (generally white).

dirt_color

The color of the dirt that is layered on top of the paint and reflection colors.

dirt_mix

The amount of dirt color that is mixed into the reflection color. This parameter would ideally be connected to a texture shader to get variations in the dirt across the surface. If dirt_mix is set to 0.0 no dirt is added.

Render Tree Usage

The mi_metallic_paint_output_mixer shader has multiple outputs. Most of the outputs follow the pattern of xxx_result, xxx_raw and xxx_level. The "result" is the final contribution, "raw" is the unscaled contribution, and "level" is the scaling. The "level" is often related to an input parameter (or combinations thereof). Unless otherwise noted, xxx_result = xxx_raw * xxx_level.