Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse winding order flag for MeshBlock in NGE #14381

Closed
PatrickRyanMS opened this issue Oct 2, 2023 · 0 comments
Closed

Reverse winding order flag for MeshBlock in NGE #14381

PatrickRyanMS opened this issue Oct 2, 2023 · 0 comments
Assignees
Milestone

Comments

@PatrickRyanMS
Copy link
Member

When loading glTF meshes to use with NGE through the MeshBlock, the winding order of the imported mesh will likely be at odds with the winding order of geometry created within the tool. It would be helpful to allow the user to reverse winding order on anything loaded into a MeshBlock so that meshes imported into the graph as well as geometry created within the graph can be mixed together without needing extra steps like setting up multi-materials to reverse winding order of submeshes at the material level. Doing this a single time in the graph and building once will be much cheaper for performance.

This could be a flag added to the MeshBlock that defaults to false. When set to true, we simply reverse the winding order of the mesh referenced in the MeshBlock.

@PatrickRyanMS PatrickRyanMS added this to the 7.0 milestone Oct 2, 2023
deltakosh added a commit that referenced this issue Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants