▲ 0 r/opengl
https://pastebin.com/jbufHHk9 The pixels render as black, even though the data is sent to the GPU. I've swapped out the BufferedImageBasedTexture with a SimpleTexture that just loads a file using stbimage, and that works perfectly, and the shader is fine, but this texture thing doesn't work. It creates a valid texture ID with a blank texture attached to it. Nothing is wrong as far as I can tell, but it still renders black. Please help. I've tried byte arrays but lwjgl doesn't accept them, and I've tried memoryutil but that doesn't work.
u/Top-Satisfaction9950 — 14 days ago