Three.js 013Shadows

Summary

  • Introduction to shadows
  • Added shadow as mesh with alphaMap
  • Added castShadow, shadow.mapSize, shadow.camera properties to DirectionalLight, SpotLight and PointLight
  • Added receiveShadow property to plane
  • Experimented with baked shadows, renderer.shadowMap and PCFSoftShadowMap

Loading...

Open example in a new tab.

Links