Tootsville.SkyBuilder.setFirstSkyLayer

Function

Tootsville.SkyBuilder.setFirstSkyLayer is a function with lambda list: (atmosphereP)

The first layer of the sky is the ambient light of the scene, and the color of the sky itself. This is based entirely upon the sun position.

This is always black in space (when atmosphereP is false).

The sky data is taken from Tootsville.SkyBuilder.sky and the scene is Tootsville.Tank.scene.

XXX Some day, using a GLSL shader for the background would be awesome, but that's more work than is valuable at this stage (for BRP). If some volunteer is excited about the notion, it would be a very nice touch. Keep in mind that the 18 hour day and 360 day year will require certain alterations to any stock routines based upon a 24 hour day and 365.2489 day year.