Map and fill texture using PBO (OpenGL 3.3)
- by NtscCobalt
I'm learning OpenGL 3.3 trying to do the following (as it is done in D3D)...
Create Texture of Width, Height, Pixel Format
Map texture memory
Loop write pixels
Unmap texture memory
Set Texture
Render
Right now though it renders as if the entire texture is black.
I can't find a reliable source for information on how to do this though. Almost…