three.js: Shadow problems with THREE.DirectionalLight and THREE.MeshBasicMaterial
Hi everybody!
i want to upgrade three.js to R73 in my current project. Unfortunately, iām getting strange shadows casted by a THREE.DirectionalLight
on a THREE.MeshBasicMaterial
. Check out the following screenshots:
three.js R72 š
three.js R73 š
As you can see, the shadow in R73 is totally black.
OS: OS X Yosemite 10.10.5 GPU: AMD Radeon R9 M295X 4096 MB Browser: Chrome 46.0.2490.86 (64-bit)
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 16 (9 by maintainers)
Was trying to get softer shadows and then discovered a trick of using emissive color on the object receiving the shadow. This might help someone.