opengl - glCompressedTexImage2D for rectangular texture -
it seems glcompressedteximage2d
not handle gl_texture_rectangle
..
i trying load valve's vtf texture file, , of them seems rectangular dxt1 compression.
how work around this??
you obvious thing: stop using rectangle textures them. regular textures can rectangular.
the reason use rectangle textures because want sample them non-normalized texture coordinates.
Comments
Post a Comment