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

Fix RoundedBoxBufferGeometry UVs #20632

Merged
merged 4 commits into from
Nov 10, 2020
Merged

Fix RoundedBoxBufferGeometry UVs #20632

merged 4 commits into from
Nov 10, 2020

Conversation

gkjohnson
Copy link
Collaborator

Adjust the RoundedBoxBufferGeometry UVs so they span the whole face. The UVs line up with the existing BoxBufferGeometry:

rounded-box-uv-comparison2

And the current demo for testing:

https://raw.githack.com/gkjohnson/three.js/rounded-box-uvs/examples/webgl_loader_texture_lottie.html

@mrdoob
Copy link
Owner

mrdoob commented Nov 10, 2020

Sweet!

@mrdoob mrdoob added this to the r123 milestone Nov 10, 2020
@mrdoob mrdoob merged commit 4ca54c1 into mrdoob:dev Nov 10, 2020
@mrdoob
Copy link
Owner

mrdoob commented Nov 10, 2020

Thanks!

@gkjohnson gkjohnson deleted the rounded-box-uvs branch November 10, 2020 15:53
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.

None yet

2 participants