Reputation: 347
I use THREE.JS
to create a custom geometry, I create vertices and faces, when I create a face without setting the normal like new THREE.Face3(a,b,c)
in some faces the normal direction is to inside the geometry, how to make all faces direction is outside the geometry?
Upvotes: 2
Views: 497
Reputation: 12632
Create your faces in a counter-clockwise fashion; then the normal will be pointing outwards.
Upvotes: 2