0
\$\begingroup\$

I am using libgdx . While packing my texture atlas I have set the filter for mag and min to Nearest . But for just one region I wish to draw it with linear filter . Is it possible to have different filters for texture region than that of texture atlas it came from.

\$\endgroup\$
1
\$\begingroup\$

You should have a look at sampler objects, if is it a solution that would suit you. Basically a sampler object is openGL object which can store these kinds of settings for later use(binding) in shaders.
Example of usage: this tutorial.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .