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

Test for invalid length normals in normal maps #217

Open
emackey opened this issue May 14, 2024 · 0 comments
Open

Test for invalid length normals in normal maps #217

emackey opened this issue May 14, 2024 · 0 comments

Comments

@emackey
Copy link
Member

emackey commented May 14, 2024

Suggested in KhronosGroup/glTF#2368, this utility could check for invalid texels in normal maps by calculating the length of the normal at each texel, and checking for Z < 0.5. There might need to be some tolerance to allow for poor JPEG encoding, etc. This could be done independently of any mesh geometry, but would require image decoders to be present.

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

1 participant