Hi !
I’ve recently been playing with the custom mesh creation because the extruce geometry wasn’t what I wanted… But my meshes are now comming full black with apparently no material…
https://jsfiddle.net/ajzu4khn/7/
Thanks 
Hi!
Before return geometry;, try to add this line: geometry.computeFaceNormals();
              
              
              3 Likes
            
            
          Oh it’s working ! Thanks a lot 
But why should I do that ? Do you know ?
To get correct shading, you need normals 
              
              
              1 Like
            
            
          Very similar to my first question on SO 