Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Coldfish

Using volumetric textures for animation

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

Hi! I want to add some billboarded plants, with animated textures to my scene. I''m using an volumetric texture, that stores every frame of the animation in an layer of the texture. In each rendering pass the w-coord of the texture gets transformed, using an vertex-shader. This way i''m saving some SetTexture-calls and i don''t need to lock the VB every frame. Is this a good approach for using animated textures? Want to fetch some opinions... TNX ahead.

Share this post


Link to post
Share on other sites
Advertisement
A little hard to say. On one hand, you''re saving video bandwidth by not transferring all the animations every few frames. On the other, you''re keeping a volume texture in video/AGP memory, which is a huge chunk for a still-frame effect.

Does it work? Framerates? Comparisons?

I like pie.

Share this post


Link to post
Share on other sites

  • 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!