instantreality 1.0

Component:
Lighting
Status:
partly implemented
Structure type:
concrete
Standard:
Avalon

EnvironmentLight

The EnvironmentLight creates DirectionalLights based on a given Environment texture (which must be a SingleTexture in lat-long format), e.g. the same texture as used in the SkydomeBackground.

Inheritance

Code

XML encoding
<EnvironmentLight numLights='2'
global='TRUE'
ambientIntensity='0'
color='1 1 1'
intensity='1'
showProxyGeometry='FALSE'
proxyGeometrySize='1 1 1'
shadowIntensity='0'
on='TRUE'
logFeature=''
 />
Classic encoding
EnvironmentLight {
	numLights 2
	global TRUE
	ambientIntensity 0
	color 1 1 1
	intensity 1
	showProxyGeometry FALSE
	proxyGeometrySize 1 1 1
	shadowIntensity 0
	on TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFNode envTexture SFNode inputOutput Texture The environment texture that is used for extracting light sources.
SFBool global SFBool inputOutput TRUE Indicates if the light is global (influences all elements in the scene) or local (only the children of the parent node).
SFFloat ambientIntensity SFFloat inputOutput 0 [0, 1] Brightness of ambient (nondirectional background) emission from the light.
SFColor color SFColor inputOutput 1 1 1 color of light, applied to colors of objects.
SFFloat intensity SFFloat inputOutput 1 [0, 1] Brightness of direct emission from the light.
SFBool on SFBool inputOutput TRUE Enables/disables this effector (e.g. light)
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element