Modify Textures While Rendering?
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
http://members.xoom.com/myBollux
March 14, 2001 11:43 AM
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..
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
Popular Topics
Advertisement