RPR_MATERIAL_NODE_REFRACTION

Usage

Represents perfectly smooth refractive materials which allow light to transmit through and bend due to Snell’s law, like glass.

Parameters

Input

Name

Type and Range

Brief Explanation

RPR_MATERIAL_INPUT_COLOR

color

Color

Refraction color. White is perfectly transparent.

RPR_MATERIAL_INPUT_NORMAL

normal

Vector

Normal direction used for shading.

RPR_MATERIAL_INPUT_IOR

ior

Float

Index of refraction, usually 1-5.

RPR_MATERIAL_INPUT_CAUSTICS

caustics

0 or 1

Whether or not caustics are calculated through this surface.