Ray Bounce Level VEX node

Returns the current ray-bounce level.

See also: Is Fog Ray, Is Shadow Ray, Ray Bounce Weight

This operator returns the current ray-bounce level.

For example, primary rays (i.e. rays sent from the camera) are level 0. After a single reflection, the ray level is 1. After two reflections, the level is 2, etc.

Usages in other examples

Example name Example for