Archive 19/01/2023.

[SOLVED]Faces is Inverse in CustomGeometry

rbnpontes

Hello Guys, i have tried to make a Tool for make a Roads and Rivers in my Editor
My Question is, when i generate a Mesh, my code works fine but the faces is show inverse, how to solve this error ?
PS: I tried to invert a Normal but doesn’t work
/* Sorry for my english */

1vanK

It is strange…

Another way - you can change order of vertices from clockwise to counter clokwise (or vice versa, I do not remember) instead change CalcNormal() function

Or just make doublesided material

Dave82

You could change the indices order to flip the normal.

rbnpontes

Thank’s Guys, i have changed order of Faces, instead of Clockwise, i’m put in Counter Clockwise