Wrong normals of built-in torus shape #4896
Labels
A-Math
Fundamental domain-agnostic mathematical operations
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
Bevy version
"0.7"
Relevant system information
What you did
I try to build my outline shader using vertex extrusion method. This method is strongly related to the normals of vertices.
What went wrong
I tests many meshes and my code does well expect the built-in torus shape.
This is the result of torus imported from Blender and it looks good:
This is the result of built-in torus and it looks not so good:
After carefully testing, I find that some of the calculated normals of built-in torus may be wrong.
I will check the code later and find what goes wrong actually.
The text was updated successfully, but these errors were encountered: