tul1
tul1

Reputation: 414

change colors of triangles of a plane threeJS

I'm trying to build a multicolor plane changing the colors of the triangles of the mesh. is it possible to modify the colors of triangles from the mesh of a PlaneGeometry object?

Upvotes: 1

Views: 144

Answers (1)

tul1
tul1

Reputation: 414

I think this is not possible as I wanted because overtime you have a mesh and you setup the colors by vertex the result is an interpolation. And you will obtain an beautiful degrade. The best way to resolve this problem is to make different meshes and configurate their materials by separated.

Upvotes: 1

Related Questions