Sign in to follow this  
jeff8j

Simple OpenGl glTexImage2D help

Recommended Posts

I am trying to work with opengl textures and following nehes tutorials with the triangle and the square when I try to add a texture to the square the triangle goes semi transparent in linux and doesnt even show in windows.

 

I have tracked it down to glTexImage2D that seems to be causing it I am assuming something to do with lighting is that the case? how can I fix it? Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this