Jump to content
  • Advertisement
Sign in to follow this  
devronious

Performance of cube textures...

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

I was thinking about using a 3d cube texture in my application instead of several other 2d textures. I was going to just add all of my many textures into the layers of on cube texture and use it instead of many single textures. So the question is, is the performance of a cube texture ok? I'll have to use the tex3d lookup in my shader, but will this be ok? [edit] Also, are they supported by pretty much all cards out now? Basically, could you use one in a AAA title? Thanks in advance, Devin [Edited by - devronious on April 19, 2007 11:38:12 AM]

Share this post


Link to post
Share on other sites
Advertisement
Do you mean Cube textures, or Volume textures? You seem to be talking about Volume textures but call the Cube textures.

Either way, if the goal is combining several different textures into one texture that holds them all, this is likely not going to be worth it. Both volume textures and cubemaps require extra work from the GPU, and are likely to be somewhat slower.

If you're looking to perform less SetTexture calls, why not use one big 2D texture to store several textures in?

Hope this helps.

Share this post


Link to post
Share on other sites
Ya, I think I meant volume textures, now that I'm reading up on them. I am starting to lean towards one big texture instead as you suggest. I would like to use volume rather than large texture, but if it's going to be slow then it is a bad idea for me as performance is my goal.

Thanks,

-Devin

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!