Jump to content
  • Advertisement
Sign in to follow this  

OpenGL beginner lighting(?) problem.

This topic is 2915 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


i'm a total beginner at OpenGl. I'm doing a simple "testgame" and i'm really stuck:

Ive made an object called Entity that contains vertecies for a cube. it worked just fine to render it until i tried to implement ligting.now some sides of the cube appears transparent (when you place more than one in the scene)? i've tripplechecked the facenomals and they are all of length 1.

when i try it with only one cube in the scene it works fine.

all answers appreciated!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!