Jump to content
  • Advertisement

Archived

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

BlackScar

Copying a texture to another

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

Greetings! I was wondering how to copy a section from one texture to another? Because I''d like to make my models blink every now and then. :p hehe Justin Eslinger

Share this post


Link to post
Share on other sites
Advertisement
OpenGL protects it''s textures so you can''t actually copy the data for the texture, but you can always draw part of a texture over the section you want to blink. Or, write a custom image loader which will build a bunch of textures one w/blinkedeyes, one without, then make them into textures.

Morgan

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!