pixiv / three-vrm

Use VRM on Three.js
MIT License
1.3k stars 110 forks source link

fix: NodeMaterials, `.temp()` -> `.toVar()` #1536

Closed 0b5vr closed 3 days ago

0b5vr commented 3 days ago

This PR update the method .temp() of NodeMaterial nodes to .toVar().

.temp() is deprecated in r170.
See: https://github.com/mrdoob/three.js/pull/29516

examples are working even in r167.