ThreeJS Object Shadows
Adding shadows to a 3D scene gives it a better realistic feel. In this example you can see how shadow can be applied to a Collada 3D model using ThreeJS
library. Sample model created using Mixamo
To make this work, the scripts listed below are required: :
- ColladaLoader - for loading model in .dae format
- OrbitControls - predefined camera controls with mouse
Left click and move mouse to rotate camera, right and click and move to pan. Scroll to zoom in and out.
Press space key to reset.