javascript - mering same geometry with different ambient colors -


i create custom geometry , use meshphongmaterial material. because geometry large, want merge them in 1 geometry better performance. problem want use different ambient color each child geometry. think can change color using more material , change materialindex each face, maybe not work , may costs lot of time , use more texture. there simple way archive this? i'm not sure how three.js render different material have no idea this.thanks help.

the merge won't since materials stay different.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -