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

Add compatibility with three.js r66 #10

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

deathcap
Copy link
Collaborator

@deathcap deathcap commented Apr 6, 2014

three.js changed their geometries to use Face3 (since Face4 was removed), so minecraft-skin's UV mapping was broken with r66. This PR updates the UVs for three.js r66 compatibility, and preserves compatibility with r58 (or earlier) by using the Face4-based old UVs if BoxGeometry (new name for CubeGeometry, but both are available on r66; kept the old name for compatibility with r58) is not defined. Fixes GH-5

Note: this also includes pull request GH-9 (using three.js via NPM)

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.

UV Mapping fails in modern versions of Three.js
1 participant