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

Normalize the results of octahedral decompression #51782

Merged
merged 1 commit into from
Aug 17, 2021

Conversation

clayjohn
Copy link
Member

Follow up to #51268 and #46800

Specifically this #51268 (comment)

Octahedral compression is made specifically for unit vectors. The results of the decompression are non-normalized vectors pointing in the same direction as the original value. It requires a normalization to return the original unit-length vector.

@clayjohn clayjohn added this to the 3.4 milestone Aug 17, 2021
@clayjohn clayjohn requested a review from a team as a code owner August 17, 2021 05:45
@akien-mga akien-mga merged commit 2bc1d82 into godotengine:3.x Aug 17, 2021
@akien-mga
Copy link
Member

Thanks!

@clayjohn clayjohn deleted the GLES3-octahedral-normalize branch August 17, 2021 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants