I’m starting coding with OpenGL and I would like to map a fire texture ( this texture would be generated in real time ) on a cube.
The problem is: how to do this ?? since it seems that using glGenTextures, glBindTexture
and glTexImage2D primitives dump the texture data to the video memory.
I think that calling those functions would be a loss of time. So is there a way to make the
video card point to the RAM or is there a buffer inside the video card which I could use to generate my fire effect.
I hope someone would help me. I didn’t find this question on any forum so …
Thx in advance