How to modify texture data in OpenGL?
How to modify texture data in OpenGL?
I can modify texture data in Direct3D by lock it first, but I don't can I do this in OpenGL, and how to if I can?
As far as I know, it doesn't work in the same way as DX.
I know that you can get the texture data back by downloading it from the graphics card. The thread is in the OpenGL forum.
If you're going to be editing it, you can always just keep the data around after binding to the video card with OpenGL, make any changes you want, and then just bind again it to the same texture id.
I know that you can get the texture data back by downloading it from the graphics card. The thread is in the OpenGL forum.
If you're going to be editing it, you can always just keep the data around after binding to the video card with OpenGL, make any changes you want, and then just bind again it to the same texture id.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement