ambient VEX function

Returns the color of ambient light in the scene.

Contexts: fog, surface

  1. vector ambient()

Returns the color of ambient light in the scene.

You can optionally specify a light mask .