Environments describe how the scene is rendered,
for example the color of the lighting, or the position of the
sun.
To interactively adjust the values of the environment
you can use the editor, launched using:
Procedural.environmentEditor
Methods
(static) environmentEditor()
Launches the environment editor
(static) setEnvironment(environment)
Update the engine's environment to the environment
configuration passed.
Example
var environment = {
title: 'custom',
parameters: {
inclination: 0.6,
fogDropoff: 0.0002
}
};
Procedural.setEnvironment( environment )
Parameters:
Name | Type | Description |
---|---|---|
environment |
Object |