Home Reference VEX VEX functions 

ambient vex function

Contexts: fog , surface

Tags: surface

Returns the color of ambient light in the scene.

  1. vector ambient()

Returns the color of ambient light in the scene.

You can optionally specify a light mask .