Graphics Reference
In-Depth Information
There's more…
You can, of course, also use two
THREE.DirectionalLight
objects instead of
THREE.HemisphereLight
. With careful tuning, you can reach the exact same
effect as you would get with
THREE.HemisphereLight
. The added advantage
is that you could also make very faint shadows with this approach, as
THREE.DirectionalLight
supports
casting
shadows
whereas
THREE.HemisphereLight
does not.
See also
• In the
Softening lights by adding ambient lighting
recipe, we showed you a
more simple approach of supporting the main light sources in your scene.
We showed you how you can use
THREE.AmbientLight
as an extra light
source to soften the lights and the shadows.