Skip to content
Discussion options

You must be logged in to vote

I found how to: in class Camera in get_texture_id one can set texture.filter = (moderngl.NEAREST, moderngl.NEAREST) or:

texture.build_mipmaps()
texture.filter == (moderngl.NEAREST_MIPMAP_LINEAR, moderngl.NEAREST)

Obviously attributes per image mobject can be added and then the corresponding sampler can be set.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vchizhov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant