Jump to content
  • Advertisement
Sign in to follow this  
bobbyucsd006

3D textures and filtering

This topic is 2773 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,
I am using a 3D texture, and I want to do linear filtering along the s and t coordinates, but I just want to use nearest neighbor across the r coordinate.

Basically my 3D texture is a set of like 40 jpegs, and I want to be able to arbitrarily select a certain picture with the r coordinate. However, right now it is blending
two close pictures together when I do linear filtering. If I do nearest its fine, but then it looks choppy.

Thank you!
Bobby

Share this post


Link to post
Share on other sites
Advertisement
Well then you need a shader and you need to average the closest samples. You cant mip-map/filter single stacks of a 3d texture unless you have a shader.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!