Advertisement

Modify Textures While Rendering?

Started by March 13, 2001 01:37 AM
1 comment, last by orenk2k 23 years, 8 months ago
hello, i know there something about it ,but i don''t remember where i saw it. i need to make some bullet holes in the walls while i shoting at them, any tutorials/sources will be g8!. -> Thanks <-
orenk2k
goto google and type "decals opengl" + press search

http://members.xoom.com/myBollux
Advertisement
you might try glTexSubImage(..)

you can cache image data in system memory, and replace part or all of the current bound texture object with this command..check the red book for details..

if you''re using the same texture for more than one surface watch out, any changes made to the texture object will appear in all surfaces using it..if that''s the case you''re better off doing decals..

This topic is closed to new replies.

Advertisement