The flat parameter in CreatePolyhedron

Hey, I have a question about the flat parameter in CreatePolyhedron.

I’ve been experimenting with createPolyhedron, and I was wondering, in what situations would we want to set the flat parameter to false, or what’s a use case for this?

Also, my understanding of the flat parameter is that in setting the value to false, all faces will share the same normal. How is this normal computed and what direction is it?

I appreciate any feedback and help! Thank you and I hope everyone is doing well!


Welcome to the community, it might be used if you do not need vertex color or uvs, which might be seen as an optimization.

Awesome, thank you! Do you happen to know of any examples I can check out where this is the case? Thanks again!

not really :frowning: maybe somebody else from the community would have some ?