User Tools

Site Tools


This is an old revision of the document!


Ray Depth

Brickyard : Functions > Utility > ray tracing

Provides informations about the current ray.

Snapshot

Parameters

Outputs

  • Ray Depth : Float - Description…

Settings

  • Ray Type :
    • depth : Returns the total depth of the current ray; speculardepth + diffusedepth + shadowdepth.
    • speculardepth : Returns the specular depth of the current ray.
    • diffusedepth : Returns the diffuse depth of the current ray.
    • shadowdepth : Returns 1.0 if the current ray is a transmission ray, 0 otherwise.

Examples

  • In this example, …
    Example 1