This seems like it should be something that’s easy to do, but I can’t seem to find a source out there to tell me how to do it. I would like to load a texture from an image file into my shader. I’m trying to stick as close to the core profile as possible in OpenGL 3.3, although I understand a lot of things are still not implemented in OS X. Any help would be appreciated. I’m still pretty new to OpenGL, so descriptiveness would help out greatly.
Share
I don’t really know how to work with cocoa, but, there is another library which may help you a lot. It’s name is DevIL. you can google and download it. It worked for me 😉