Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
OpenGL
Movement and lighting
« previous
next »
Print
Pages: [
1
]
Movement and lighting
1 Replies
4551 Views
Rainer
71
Movement and lighting
«
on:
April 24, 2007, 07:38:01 »
Hi there
Anytime i solve a problem i ran into e new one
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
71
Re: Movement and lighting
«
Reply #1 on:
April 25, 2007, 07:54:36 »
Problem solved, moved lighting initialisation to the render loop
Logged
Print
Pages: [
1
]
« previous
next »