Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Animated Volume Texture

Recommended Posts

  • Description

    I put a lot of work into the Pixmap class because I wanted to be able to load, manipulate, and save images in DDS format with all features supported. Here I loaded a sprite sheet, copied the cells into different pixmaps, then save an array of pixmaps as a volume texture. Scrolling the W component of the UVW texture coordinate results in a smooth transition between animation frames.

    With this approach, water, fire, explosions, as well as animated sprites can each be stored in a single DDS volume texture and loaded at once. The volume texture can be applied to a material for easy texture animation, in a standard file format that can be opened in many programs, and it supports compressed texture formats.

    Here's a sample:



  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...