Jump to content
  • Advertisement
Sign in to follow this  
Falhar

3D mipmaps

This topic is 4385 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

is it posible to have mipmaps of 3D texture not of entire texture but only of texture slices. Eg. base texture : 256x256x256 .. mipmaps 128x128x128, 64x64x64... but for each slice: base : 256x256x256 .. mipmaps 128x128x256,64x64x256 . Is it posible? i have serious texturing problem .. i acces 3D texture 4 times in shader, but i only want slices of this 3D texture. So i can only use NEAREST or LINEAR(slower) filtering BILINEAR or TRILINEAR(standard mipmaps,faster) makes atrifacts.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Falhar
is it posible to have mipmaps of 3D texture not of entire texture but only of texture slices. Eg. base texture : 256x256x256 .. mipmaps 128x128x128, 64x64x64... but for each slice: base : 256x256x256 .. mipmaps 128x128x256,64x64x256 . Is it posible? i have serious texturing problem .. i acces 3D texture 4 times in shader, but i only want slices of this 3D texture. So i can only use NEAREST or LINEAR(slower) filtering BILINEAR or TRILINEAR(standard mipmaps,faster) makes atrifacts.
The GL_MESAX_texture_stack is exactly what you are asking for. Unfortunately it doesn't appear to be supported on any card. I think you will have to settle for multiple 2d textures. [depressed]

EDIT: It seems it's not supported anywhere because it isn't completed yet. I hope it is eventually.

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!