Original Post
hi,
i have problem trying to attach my 1D texture. im not sure whats the problem is but it seems like i put a texture more than my vga can handle. i did a test by printing the max size:
int max;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max);
std::cout<
the result is
texture size: 8192
what does it means? is it my maximum index is 8192 or only 8192 texel? im using GeForce 9800 GT 512 MB.
If for example i have a 1D texture with millions of integer, how can i pass it to GLSL so it wont have this maximum size problem?
thanks in advance
i have problem trying to attach my 1D texture. im not sure whats the problem is but it seems like i put a texture more than my vga can handle. i did a test by printing the max size:
int max;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max);
std::cout<
the result is
texture size: 8192
what does it means? is it my maximum index is 8192 or only 8192 texel? im using GeForce 9800 GT 512 MB.
If for example i have a 1D texture with millions of integer, how can i pass it to GLSL so it wont have this maximum size problem?
thanks in advance