Tutorial

Environment

environment

Settings for the environment

Attributes

Attribute Type Default Description
clearColor vec3 [ 0, 0, 0 ] Solid color used to clear the screen before drawing.
ambientColorTop vec3 [ 1, 1, 1 ] Color of the spherical gradient at the top of the sphere.
ambientColorBottom vec3 [ 1, 1, 1 ] Color of the spherical gradient at the bottom of the sphere.