Jump to content
  • Advertisement


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


Volume Textures?

This topic is 6231 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 am trying to use volume textures in DirectX8. At first, I couldn''t even create a blank volume texture, but then I figured it''s cos my hardware don''t support it. So I used D3DDEVTYPE_REF when creating the device and then I could create empty volume textures. Now I need to fill the volume texture with some color. I can''t seem to lock the volume texture so that I can get a pointer to it and fill it with pixels. What reasons could there be for this? However, if and when I do get a lock and a pointer, how should I go about filling the volume texture? At the moment, I am trying to copy onto each slice of the 3D volume texture from ordinary 2D textures loaded from bitmap files. Is that the right way of doing it? The end effect I am trying to acheive is to use this volume texture to paint a landscape created from a heightmap. Thanks in advance for any help!

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!