User Tools

Site Tools


This is an old revision of the document!


Ray Type Test

Brickyard : Functions > Utility > ray tracing

Tests a ray and returns 0 or 1 depending on whether the ray matches the specified type. This can be useful to control If Else bricks, as shown in the Chrome shader sample (below).

Snapshot

Parameters

Outputs

  • Ray Is Type : Float - Description…

Settings

  • Ray Type :
    • camera :
    • specular :
    • diffuse :
    • subsurface :
    • transmission :
    • light :

Examples

In a Material