WLJS LogoWLJS Notebook

DirectionalLight

Supports Offload
DirectionalLight[color_RGBColor, opts___]
DirectionalLight[color_RGBColor, position_, opts___]
DirectionalLight[color_RGBColor, {position_, target_}, opts___]

places a fake source of directional light in a 3D scene (see Graphics3D). The default target is {0,0,0}\{0,0,0\}.

Options

"Intensity"

By the default is 10

"ShadowBias"

"ShadowMapSize"

See THREE.js docs

Transitions and updates

position and target do support updates

On this page