how i can make my texture transparenT?
glBlendFunc(GL_DST_COLOR, GL_ZERO);
DrawCube(0,0,0,2);
the mask, it works, the white thing is transparent, the rest of the cube is black than :
like here, u can see another smaler cube inside the cube with the texture, the big cube uses the mask texture i added at first
but how i can make transparency with this texture?
is there maybe a posibility to draw it into a buffer and delete the white pixel so that they dont get displayed`?
in older double buffers it was possible to delete a pixel out. or at old dos assembler example:
memory adress $A0000 delete pixel at offset 0xA0005
to get a transperancy, just to delete a pixel out of the buffer so that it does not get displayed anymore