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 support anisotropic filtering and for limiting the maximum number of mipmaps #502

Conversation

BonsaiDen
Copy link
Contributor

Limiting the number of mip maps can be useful when dealing with large textures or ones that are updated every frame (e.g. shadow maps) to avoid performance overhead.

Anisotropic filtering requires an extension, however that is pretty much available everywhere and is also supported in WebGL / GL ES contexts.

See also the corresponding changes in three-d-asset here: asny/three-d-asset#41

@asny
Copy link
Owner

asny commented Nov 20, 2024

I did something a bit different in aaeb43a, but basically the same functionality. Do you have any feedback to those changes?
I also updated the texture example in cb508f6 which now shows the different settings.
Also, see #510

@asny asny closed this Nov 20, 2024
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.

2 participants