LWJGL
May 21, 2012, 00:39:37 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Movement and lighting  (Read 1450 times)
Rainer
Regular nerd
**
Posts: 71


« on: April 24, 2007, 00:38:01 »

Hi there
Anytime i solve a problem i ran into e new one  Roll Eyes

I did a small Landscape and set up lighting like
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=07

Then, i did the moving through the scene like described in
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=10

Now the problem is, there is a borderline from west to east, in front of it it's bright, behind it's dark. This line moves with the player, it's always located at the players position.
How can i get a lighting that makes sense?
Logged
Rainer
Regular nerd
**
Posts: 71


« Reply #1 on: April 25, 2007, 00:54:36 »

Problem solved, moved lighting initialisation to the render loop  Roll Eyes
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!