RPR_MATERIAL_NODE_VOLUME

Usage

Volume shader for light traveling through a medium. At each step through the material light is scatter or absorbed. Can be used for anything from Fog/Clouds to subsurface scattering organic material.

Parameters

Input

Name

Type and Range

Brief Explanation

RPR_MATERIAL_INPUT_SCATTERING

sigmas

Color

Scattering color.

RPR_MATERIAL_INPUT_ABSORBTION

sigmaa

Color

Absorption color.

RPR_MATERIAL_INPUT_EMISSION

emission

Color

Emissive color.

RPR_MATERIAL_INPUT_G

g

Float -1 to 1

Forward or back scattering.

RPR_MATERIAL_INPUT_MULTISCATTER

multiscatter

0 or 1

Whether to apply multiple scatter calculations.