1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 04:12:02 +08:00

update readme

This commit is contained in:
Kevin Levron 2020-09-19 19:07:41 +02:00
parent 816a38d1fd
commit 998f945a77

View File

@ -21,6 +21,7 @@ I will try to rewrite some of my [WebGL demos](https://codepen.io/collection/AGZ
Thanks to VueJS/ViteJS, **TroisJS use watchers and HMR to update ThreeJS objects when you update a template**. This means the result in your browser will be automatically updated without reloading all the stuff. **This is really helpful when you are creating a TroisJS Scene**.
- [ ] HMR
- [x] Scene : add or remove objects (lights, meshes)
- [x] PerspectiveCamera : aspect, far, fov, near, position
- [x] Light : castShadow, color, intensity, position, target
- [x] SpotLight : angle, decay, distance, penumbra