Project

General

Profile

Bug #624

Lighting effects do not function properly during eclipses.

Added by Ruedii almost 8 years ago. Updated almost 5 years ago.

Status:
Confirmed
Severity:
Unworthy
Assignee:
-
Category:
Camera
Target version:
-
Start date:
05/14/2013
% Done:

10%

Version:
Platform:
Linux, OSX, Windows
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

This is probably one of the most trivial bugs in the game, but it is important to document so that it can be fixed sometime next time there is work done on the lighting engine, and shadow casting engine.

Attached are a pair of screen shots taken during a full eclipse of the Kerbal Sun by Kerbin. Notably, the ground is not darkened from the shadow of Kerbin.

This primarily has to do with the distance from Kerbin to the Mun, where the screenshots were taken. Eclipses do cast shadows when you pass on the night side of a planet while in a closer orbit.

Notably this does have a VERY minor effect on gameplay with solar panels. However, considering that an eclipse doesn't last long enough for this to really matter too much, it is only a minor issue.

I detected this issue on Linux, but it may exist on other platforms.

screenshot19.png (347 KB) screenshot19.png Screenshot of the eclipse (Sun is clearly blocked) Ruedii, 05/14/2013 12:19 AM
screenshot20.png (717 KB) screenshot20.png Screenshot of the Mun Surface at the same time (Light out) Ruedii, 05/14/2013 12:19 AM
screenshot37.png (317 KB) screenshot37.png [email protected] Ruedii, 05/16/2013 12:13 AM
660
661
676

History

#1 Updated by Ruedii almost 8 years ago

676

I have some more screenshots of Laythe with the sun blocked by Jool. Again, perfectly bright out. This instance would have much more significant impact on gameplay with solar powered space probes, as this eclipse lasts well over an hour, enough that it should drain the battery on most solar powered items, leaving them inoperable until the eclipse is over.

I will later run a test to check if solar panels are in fact producing energy when this occurs. If this is the case, I will note so, and open a feature request to move solar panel lighting from the lighting engine, and onto a separate ray-cast based engine.

#2 Updated by Anonymous almost 8 years ago

  • Status changed from New to Confirmed
  • % Done changed from 0 to 10

#3 Updated by Ruedii over 7 years ago

It seems that solar panels properly get blocked during eclipses, but the shadows do not properly cast over the landscape.

Maybe this could be fixed prioritizing shadows by the size of the object in question combined with distance and if they are blocking a light source from hitting another object.

#4 Updated by TriggerAu almost 5 years ago

  • Status changed from Confirmed to Needs Clarification
  • % Done changed from 10 to 0

#5 Updated by Claw almost 5 years ago

  • Status changed from Needs Clarification to Confirmed
  • % Done changed from 0 to 10
  • Platform OSX, Windows added

Yep, still true in 1.1.X.

Also available in: Atom PDF