128x128 texture-limit?
This problem has existed in my engine for some time, but i''ve seen larger textures than 128x128 loaded with C++. I''m using OpenGL with Delphi.
These are current data-structures for textures, they both work, but when i increase to 256 it shows white texture:
RGBTexture:
Data: array[0..3*128*128-1] of Byte;
RGBATexture: (with alpha-channel)
Data: array[0..4*128*128-1] of Byte;
I have also tried memory allocation with no different result.
how do you set up opengl texture... did you change texture size parametrs to 256?
You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement