User Tools

Site Tools


Surface

Brickyard : Roots

A Surface shader is applied to the surface of an object and is used to model the optical properties of a material. A Surface shader is responsible for calculating the amount and color of light reflected in a particular direction, based on the properties of that surface. It does this by summing the influence of incoming light contributions from the scene while taking into account the properties of the surface.

A Surface root brick can be added to a Material or Camera type shader. In a Material shader the values are applied in the context of the surface that the shader is appplied to, or it is said to be “local”. When used in a Camera shader, the values are applied in a “global” context, that is to say that it is applied to any surface that does not specify its own shader.

Snapshot

Root Surface Brick

Parameters

Inputs

  • Color : Color - The final color of the surface, or “Ci”. Specify a color manually by expanding the parameter and manipulating the color_widget or connect one of the bricks from the Functions list to the input connector.
  • Opacity : Color - The final opacity of the surface, or “Oi”. Specify the opacity manually by expanding the parameter and manipulating the color_widget or connect one of the bricks from the Functions list to the input connector.
  • Root Settings1) : Float - Description…
  • Accept Shadows : Determines if the surface will accept shadows.

Settings

  • Shadow Pass : Determines if the network of bricks that connect to this brick contribute to the surface during the shadow pass.
  • Beauty Pass : Determines if the network of bricks that connect to this brick contribute to the surface during the final render pass.

Examples

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