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

Extension to support texture transformation #1336

Closed
jackcaron opened this issue May 7, 2018 · 1 comment
Closed

Extension to support texture transformation #1336

jackcaron opened this issue May 7, 2018 · 1 comment

Comments

@jackcaron
Copy link

It's quite common to defined at the texture level (or in glTF case, the sampler) how we want that image to be tiled, have an offset, or even a rotation.

Defining a new extension, that could be added inside the sampler (that's where it makes the most sense) on how to transform the UVs before reading the associated textures.

And I think it makes sense as an extension because this would require modifying and compiling the fragment shader differently, depending on each texture access. But Three.js already supports that.

@jackcaron
Copy link
Author

Duplicated of #1335

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

No branches or pull requests

1 participant