1

I am new learner of three.js. There are some problems with MeshFaceMaterial.So anyone can help me in this case.i'll be very thankful to him.

2
  • 2
    Add more details, like the error descriptions, your implementation etc. Without that its hard to understand the problem. Commented Jul 27, 2018 at 7:23
  • Welcome to Stackoverflow! Please, read about How to Ask and minimal reproducible example. Commented Jul 27, 2018 at 7:30

1 Answer 1

3

Yes, MeshFaceMaterial is deprecated. You can add multiple materials to a single mesh like this:

const mesh = new THREE.Mesh( geometry, [ material1, material2 ] );

three.js R94

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.