Omnimaga
General Discussion => Technology and Development => Computer Programming => Topic started by: Binder News on July 01, 2011, 03:05:21 pm
-
Does anyone know how to use OpenGL? I really need help with textures specifically, but any insight would be appreciated.
Thanks,
Binder News
-
what exactely do you want to know abouth textures in openGL? How to write shaders to display them?
-
Try these tutorials: http://nehe.gamedev.net/ (http://nehe.gamedev.net/), texture mapping is in the 6th section. I was using them but I only got to #5 :P
-
Try these tutorials: http://nehe.gamedev.net/ (http://nehe.gamedev.net/), texture mapping is in the 6th section. I was using them but I only got to #5 :P
Thanks for the link. I'll check it out.
what exactely do you want to know abouth textures in openGL? How to write shaders to display them?
Specifically, I am trying to load a png file as a texture. However, when I go to display it, it has a black background, not a transparent one.
-
/me starts hyperventilating
@Binder News, Idk what language you are using, but if it's a 2D texture SFML could be a good choice.
http://www.sfml-dev.org/ (http://www.sfml-dev.org/)