Use several textures with obj model in three.js -


how can use 2 textures obj model three.js?

i'm following obj webgl_obj_loader example uses male02 obj file. want use 2 textures clothes , face, male-02-1noculling.jpg , orig_02_-_defaul1noculling.jpg.

in example, loads single texture , sets obj children three.mesh instances - child.material.map = texture

how can change use 2 textures? how three.js know texture use body , texture use face? there format encapsulates model , textures single call three.js render everything? have viewer can accept file exported 3d editor , display it.

thanks


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -