Changing color of cube in three.js

前端 未结 3 833
南笙
南笙 2020-12-30 19:59

I\'m trying to change the color of a cube based on a variable. I created two cubes and I want to change their color depending on the distance between them.

The cubes

3条回答
提交回复
热议问题