Simple 3D gemetry with rotating balls inside rotating cube and whirling lights in THREE.js.
- Two cameras:
- Wathing scene
- Watching cube
- Three types of cube shading:
- Gouraud shading
- Phong shading
- Constant shading
- Day-Night change mode
- Fog mode
- Disappearance of light with distance
Night mode | Day Mode |
---|---|