mib_reflect

 
 
 

Category: mental ray > Texture

Shader Family: Texture

Output: Color

This shader casts a reflection ray of a given color and merges the result with an input color. This can be used to add a reflection effect to a base shader that provides illumination, possibly in conjunction with refractions or transparency added by other base shaders.

If no reflection ray can be cast (because the trace depth has been exceeded, or the reflection ray caused a shader to be called that failed, or the notrace parameter is set), the environment is sampled, if one exists.

Name

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

input

The color onto which the reflection is composited.

reflect

An RGBA color that blends the reflection into the input. Transparent black returns the input color without casting a reflected ray; opaque white returns the reflection color without evaluating the input color.

notrace

Prevents the shader from casting a reflection ray and samples the environment instead.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License