Lighting

No matter what i do with my lighting, all the sides of my cube always look the same color. do i need something like normals or something, or is my light wrong or what?

Yes you do need to specify the normals. Also you might have to change the attributes of your lighting

Originally posted by dutchstud:
No matter what i do with my lighting, all the sides of my cube always look the same color. do i need something like normals or something, or is my light wrong or what?

is there a simple way to do this? or do i have to go through some big calculation that i found for every face on my cube?

if your cube is axis aligned the normals should be quite simple, but for larger meshes, if you are storing them in some sort of structure you can quite easily use the cross product to calculate all the normals