MeshBasicMaterial side property #1234
Unanswered
ThiagoFacchini
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think you need to use the THREE constant like so, and don't forget to attach it to your mesh:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys,
I'm trying to create a MeshBasicMaterial following threejs documentation, which says:
const material = new THREE.MeshBasicMaterial( {color: 0xffff00, side: THREE.DoubleSide} );
I can easily define the material color, although I'm struggling to set the side property, here's what I tried so far:
None of the above works.... any idea on how I should be configuring the material side prop?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions