Skip to content

Conversation

@bitreal
Copy link

@bitreal bitreal commented Oct 26, 2025

Unity is exporting wrong normals to Houdini at the moment. It converts positions from the local space into the world space, but keeps normals in the local space. I added a local-to-world conversion for normals in this PR.

Keep in mind that we should use a transposed worldToLocal matrix instead of a regular localToWorld matrix with normals to make it work correctly with nonuniform or negative scales.

I made this PR for 19.5 because I'm working with this version of Houdini. But it seems that the same issue is in 20.5 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant