Refraction

 
 
 

| Refraction Diffuse

Category: Processing > Raytracing

Shader Family: Texture

Output: Color

Used to refract, or bend, a transparency ray. This shader is used to simulate transparent media, like glass or water. Similar to the Transparency shader, this tool calculates refraction as well.

Name

The shader's name. Enter any name you like, or leave the default.

Input

The color to which the refraction is applied.

Refraction

Controls the RGBA color to be blended with the input.

Black returns the input color without casting a transparency ray;

white ignores the input color

Index of Refraction

Controls the IOR, which determines the direction of the incoming ray. The IOR is typically set to 1.0 for air, 1.33 for water, 1.36 for vodka, and approximately 1.52 for glass.

Render Tree Usage

Use this shader to either alter an input color value (surface shader, image clip, texture), affect a specific color parameter (diffuse, transparency, specular), or both.

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