Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Directional Lig...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4790 of 4895
Post > Topic >>

Directional Lighting

by Makhno <root@[EMAIL PROTECTED] > Jun 11, 2008 at 11:16 PM

Hello,
Now that hardware has got fast enough to light a terrain in real time, 
I'm giving it a go.
How do I configure an OpenGL light to be directional, but without any 
position? For example, suppose I wanted to simulate a distant sun. I 
don't want attenuation with distance and light 'beams' are all parallel 
to each other?
GL_SPOT_DIRECTION seems to do something else.

Thanks
 




 3 Posts in Topic:
Directional Lighting
Makhno <root@[EMAIL PR  2008-06-11 23:16:09 
Re: Directional Lighting
Andy V <nobody@[EMAIL   2008-06-11 18:51:49 
Re: Directional Lighting
Makhno <root@[EMAIL PR  2008-06-12 00:01:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Aug 29 23:38:44 CDT 2008.