User Tools

Site Tools


This is an old revision of the document!


Refract

Brickyard : Functions > Geometric

Return the transmitted vector given an incident direction I, the normal vector N and the relative index of refraction eta. eta is the ratio of the index of refraction in the volume containing the incident vector to that of the volume being entered. This vector is computed using Snell's law. If the returned vector has zero length, then there is no transmitted light because of total internal reflection.

Snapshot

Parameters

Outputs

  • Refract Direction : Vector - Description…

Inputs

  • I1) : Point - Description…
  • Nf2) : Normal - Description…
  • Index of Refraction : Float - Description…

Examples

  • In this example, …
    Example 1
1) , 2)
Available when Show Advanced is checked in the Brick Option Menu.