How to color triangels in custom Mesh?
Cocos
FEBRUARY 27, 2023
I created custom mesh let mesh = cc.utils.createMesh({ positions : positions, indices : indices, doubleSided : true }); and i would like a make color of every triangle with different color as on picture below How could I achieve it ? right now Mesh uses color from Material and mesh filled with one color.
Let's personalize your content