Latest svn: occasional lighting issue

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
winston
Pirate
Pirate
Posts: 731
Joined: Mon Sep 27, 2004 10:21 pm
Location: Port St. Mary, Isle of Man
Contact:

Latest svn: occasional lighting issue

Post by winston »

On the start up screen, sometimes the ships are completely unlit:

http://www.alioth.net/tmp/no-light.png

This used to happen in the distant past - I note there are lighting changes in the svn log. (This doesn't seem to affect game play).
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Looks like ambient lighting is being left at its default setting, or restored to normal space level, rather than using the high-ambient pseudo-lighting usually used in the spin mode.
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

There are two modes of lighting - in space with GL_LIGHT1 set to provide light from the sun, and in the dock with GL_LIGHT0 set to provide light from high above the player's right shoulder. The ambient light levels for each are now both very low (because the flat light was annoying some people).

Which lights are enabled are set near the start of Universe drawFromEntity: - I've not had any issues with this in the latest builds, but I'll keep an eye open for the problem.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
Post Reply