RPR_MATERIAL_NODE_MICROFACET_ANISOTROPIC_REFLECTION

Usage

Microfacet reflectance with anisotropic rotation. This allows surfaces like brushed metal. The direction of anisotropy is dictated by the rotation, and effects the microfacet distribution.

Parameters

Input

Name

Type and Range

Brief Explanation

RPR_MATERIAL_INPUT_COLOR

color

Color

Reflection color.

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_ROUGHNESS

roughness

Float 0-1

Reflection roughness.

RPR_MATERIAL_INPUT_ANISOTROPIC

anisotropic

Float -1 to 1

Anisotropy amount, forwards or backwards.

RPR_MATERIAL_INPUT_ROTATION

rotation

Float in radian

Rotation of anisotropy around UV direction.