🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Copying a texture to another

Started by
0 comments, last by BlackScar 24 years, 1 month ago
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
~-=-=-=-=-=-=~~Justin Eslinger~~.."BlackScar"..~~-=-=-=-=-=-=~
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

This topic is closed to new replies.

Advertisement