Run it through glIntercept. It's been a godsend for me in finding those really obscure errors when using OpenGL.
texture 1+ doesnt work in shader
Just a stupid thought here, but in your code you're loading mid1.tga as GL_TEXTURE1 and mid2.tga as GL_TEXTURE0. In other words, it's a counter intuitive numbering scheme (1 is the 2nd texture, 2 is the first texture). So if mid1.tga is being rendered, then your code is working perfectly, even though you're expecting tex2.
Is that what's going on?
Is that what's going on?
Quote:Original post by Nychold
Just a stupid thought here, but in your code you're loading mid1.tga as GL_TEXTURE1 and mid2.tga as GL_TEXTURE0. In other words, it's a counter intuitive numbering scheme (1 is the 2nd texture, 2 is the first texture). So if mid1.tga is being rendered, then your code is working perfectly, even though you're expecting tex2.
Is that what's going on?
not sure.. but i dont think thats the problem.. but ill look at ti...
Quote:Original post by PlayerX
Run it through glIntercept. It's been a godsend for me in finding those really obscure errors when using OpenGL.
ive tried it.. but it seems to advanced for me... its preyy funny... i still get GL_TEXTURE0 even if i disable it... i guess ill have to start over from scratch... sigh... another several hours wasted...
any ways thx for all the suggestions!
EDIT::
... something ive bene think of is that always texture0 gets rendered.. wouldnt that mean that the other textures doesnt work.. cuzz if i dont load anything to texture0 all i get is a black texture...
[Edited by - Dragon_Strike on September 30, 2006 9:53:04 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement