Please could someone show me or provide me with the source code to load a bitmap into a GLubyte Array
So the actual bitmap image is in GLubyte , so I can edited it .
I am trying to make a game with destructable terrain which can be loaded from bitmaps :) . Any other hints on how to edit it in realtime , would be useful .
Ps. as you obviously have worked out I am using OpenGL .
Lots of thanks in advance,