The EnvironmentLight node belongs to the Lighting component and its default container field is children. It is available since X3D version 4.0 or later.
Info: Please note that this node is still experimental, i.e. the functionality of this node may change in the future. This node is available in X_ITE.
1 2 3 4 + X3DNode + X3DChildNode + X3DLightNode + EnvironmentLight
Global lights illuminate all objects within their volume of lighting influence. Scoped lights only illuminate objects within the same transformation hierarchy.
- DirectionalLight default global=false to limit scope and avoid inadvertently illuminating every object in a large scene. PointLight and SpotLight default global=true since their effects are each limited by maximum radius value.
Enables/disables this light source.
color of light, applied to colors of objects.
Brightness of direct emission from the light.
Brightness of ambient (nondirectional background) emission from the light. Interchange profile hint: this field may be ignored, applying the default value regardless.
shadows field indicates whether or not this light casts a shadow behind illuminated X3DShapeNode geometry.
Color of shadow, applied to colors of objects.
shadowIntensity field defines how much light is obscured by shapes that cast shadows, ranging from 0 (light not obscured, no visible shadows) to 1 (light completely obscured, full-intensity shadows).
The shadowBias value controls the visibility of shadow acne.
Size of the shadow map in pixels, must be power of two.