View Full Version : teximage1D with a size more than GL_MAX_TEX_SIZE?
destiny
03-16-2008, 06:23 AM
I have a 1D shading table with a length of 65536 .But GL_MAX_TEXTURE_SIZE=4096.What could I do?
-NiCo-
03-16-2008, 07:11 AM
Use a 2D table and address it as
y = index/256;
x = index-y*256;
Jedimaster
03-16-2008, 07:50 AM
Use 2d or rectangle texture instead
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.