RPR_MATERIAL_NODE_FRESNEL

Usage

Fresnel term, used for weighting blend between diffuse and specular BRDFs, or more generally, outputs the Fresnel falloff on edges facing away from the camera on geometry.

Parameters

Input

Name

Type and Range

Brief Explanation

RPR_MATERIAL_INPUT_INVEC

invec

Vector

Direction (usually view direction).

RPR_MATERIAL_INPUT_NORMAL

normal

Vector

Surface normal direction.

RPR_MATERIAL_INPUT_IOR

ior

Float

Index of refraction, controls falloff towards edges.

RPR_MATERIAL_INPUT_SCHLICK_APPROXIMATION

schlickapprox

Float

Schlick factor.