Thanks for pointing that out! It works now - I was passing in arbitrary values for s and t rather than calculating relevant ones.
Type: Posts; User: snipy3
Thanks for pointing that out! It works now - I was passing in arbitrary values for s and t rather than calculating relevant ones.
A few answers:
GLuint text = 50 is actually old code from a while ago when it was believed that GLGenTextures wasn't generating unique values (in other words it doesn't need to be there).
I will...
The s and t values?
Ignore the comments for the most part in my first segment of code, they are old and largely incorrect.
I'm trying to use textures on a cube for a project, and they aren't working at all. I can read them in successfully, but they always display weird.
The cube currently looks something like this...