LookPixelSky
A dome of pixel art drawn last among the opaque surfaces, against the
frame’s depth, so it fills only what nothing else covered: a gradient
with a haze below the horizon, clouds, a sea of clouds, the sun, the
moon and the stars, each in square cells of one angular size. It draws
no fog, stands on the eye, and follows the hour every frame from the
scene’s LiveDaylight: under keyframes their sky colours and
cloudCoverage, on the engine’s arc the colours and coverage below.
The sun is 12 cells across at an HDR brightness of 9, so it blooms, with
a halo of three lobes; the moon 14, with craters and a gibbous phase,
under the bloom’s threshold; the stars two layers, faint single cells
and rare plus shapes that twinkle, by night. A pixel sky lights nothing,
so its look sets environment: { intensity: 0 }.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
bottomColor? |
ColorRepresentation |
The colour below the horizon; left out, the fill’s ground colour. |
cellsPerRadian? |
number |
Cells per radian of the dome the clouds are drawn in, so a cloud’s pixel keeps one angular size whichever way the camera looks: at the diorama’s 28 degree lens a cell is about 6 pixels of a 1080-line frame. The stars keep a finer grid of their own. Left out, 380, Luminati’s. |
cloudBanks? |
undefined |
A painted sky’s alone. |
clouds? |
undefined |
A painted sky’s alone. |
coverage? |
number |
How much of the sky lies under cloud on the engine’s arc, 0 to 1; keyframes give their own cloudCoverage. Left out, 0.45. |
curve? |
undefined |
A painted sky’s alone. |
horizonColor? |
ColorRepresentation |
The colour at the horizon; left out, the fog’s. |
moonAngleRadians? |
number |
The moon’s width across the sky. Left out, 0.052. |
seaOfClouds? |
number |
How much of a sea of clouds shows below the horizon, 0 to 1. Left out, none. |
span? |
undefined |
A painted sky’s alone. |
stars? |
boolean |
Whether the stars come out at night. Left out, true. |
style |
"pixel" | Pixel |
Drawn as pixel art. |
sunAngleRadians? |
number |
The sun’s width across the sky, in radians: Godot’s sun_angle_max and Unreal’s Source Angle, which are degrees. Left out, 0.064. |
sunsetColor? |
undefined |
A painted sky’s alone. |
topColor? |
ColorRepresentation |
The colours on the engine’s arc, linear in the light’s units as a painted sky’s are, dimmed with the ground through the night; under keyframes, theirs. Left out, the fill’s sky colour, the fog’s and the fill’s ground colour. HDRP’s Gradient Sky’s Top, Middle and Bottom, Godot’s sky_top_color, sky_horizon_color and ground_bottom_color. |