[page:Object3D] → [page:Light] →
[name]
A light source positioned directly above the scene.
Example
[example:webgl_lights_hemisphere lights / hemisphere ]
[example:misc_controls_pointerlock controls / pointerlock ]
[example:webgl_decals decals ]
[example:webgl_loader_collada_kinematics loader / collada / kinematics ]
[example:webgl_materials_lightmap materials / lightmap ]
[example:webgl_shaders_ocean shaders / ocean ]
var light = new THREE.HemisphereLight( 0xffffbb, 0x080820, 1 );
scene.add( light );
Constructor
[name]([page:Integer skyColorHex], [page:Integer groundColorHex], [page:Float intensity])
[page:Integer skyColorHex] — Numeric value of the RGB sky color.
[page:Integer groundColorHex] — Numeric value of the RGB ground color.
[page:Float intensity] — Numeric value of the light's strength/intensity.
Properties
[property:Float groundColor]
Light's ground color.
[property:Float intensity]
Light's intensity.
Default — *1.0*.
Methods
[method:HemisphereLight clone]()
It returns a clone of HemisphereLight.
[method:JSON toJSON]()
Return HemisphereLight data in JSON format.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]