Skip to main content
GameDev.net gamedev.net
🔒 Locked

beginner lighting(?) problem.

Started by simpan22 Oct 6, 2011 at 3:53 PM 1 replies 1.5k views
Original Post
simpan22
simpan22
hello!

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!
simpan22
simpan22
yep!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.