|
-
Dec 31st, 2004, 04:03 AM
#1
Thread Starter
Fanatic Member
OpenGL lighting
I have been using OpenGL for a little while now, and everything seems to be working ok until i tried to add a bit of lighting.
Basically, my problem is that whenever i glEnable() lighting, there seems to always some ambient light, even if i glDisable() light zero...for my game, i want complete darkness at times, but that seems impossible.
Also, the brightness of the ambient light seems to change depending on whether a certain object is drawn...even though i make no lighting calls when i draw it...could this be because of texturing??
Thanks for any help
sql_lall 
-
Dec 31st, 2004, 09:12 AM
#2
Frenzied Member
Re: OpenGL lighting
This question would be better suited in the games and graphics section.
-
Jan 1st, 2005, 04:25 AM
#3
Thread Starter
Fanatic Member
Re: OpenGL lighting
sorry, haven't been here in a while...i use C++ only now, so thought i'd put it in here, as i was hoping for an answer hopefully using C++ code....
anyway, if this should be somewhere else, is it possible for the whole thread to be moved there....admins? or should i repost?
sql_lall 
-
Jan 1st, 2005, 11:56 AM
#4
Frenzied Member
Re: OpenGL lighting
Congrats on using c++. Welcome!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|