Overview
EnvironmentLight …
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.
Hierarchy
1
2
3
4
+ X3DNode
+ X3DChildNode
+ X3DLightNode
+ EnvironmentLight
Fields
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFBool [in, out] global TRUE
global lights illuminate all objects within their volume of lighting influence. Scoped lights only illuminate objects within the same transformation hierarchy.
SFBool [in, out] on TRUE
Enables/disables this light source.
SFRotation [in, out] rotation 0 0 1 0 [-1,1] or (-∞,∞)
SFColor [in, out] color 1 1 1 [0,1]
color of light, applied to colors of objects.
See Also
SFFloat [in, out] intensity 1 [0,∞)
Brightness of direct emission from the light.
SFFloat [in, out] ambientIntensity 0 [0,1]
Brightness of ambient (nondirectional background) emission from the light.
MFFloat [in, out] diffuseCoefficients [ ]
SFNode [in, out] diffuse NULL [X3DSingleTextureNode]
SFNode [in, out] diffuseTexture NULL [X3DEnvironmentTextureNode]
SFNode [in, out] specularTexture NULL [X3DEnvironmentTextureNode]
SFBool [in, out] shadows FALSE
shadows field indicates whether or not this light casts a shadow behind illuminated X3DShapeNode geometry.
SFColor [in, out] shadowColor 0 0 0 [0,1] non standard
Color of shadow, applied to colors of objects.
SFFloat [in, out] shadowIntensity 0 [0,1]
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).
SFFloat [in, out] shadowBias 0.005 [0,1] non standard
The shadowBias value controls the visibility of shadow acne.
SFInt32 [ ] shadowMapSize 1024 [0,∞) non standard
Size of the shadow map in pixels, must be power of two.