BodyAppearance

interface BodyAppearance
universe/src/system.ts:441

Members

cloudsreadonly

clouds: CloudLayer | null

colorreadonly

color: LinearRgb

Used where there is no albedo map, and to tint one that is grayscale.

geometricAlbedoreadonly

geometricAlbedo: number

Geometric albedo: how bright the body is at full phase.

hazereadonly

haze: HazeLayer | null

liquidreadonly

liquid: LiquidAppearance | null

The liquid that stands or runs here, or null where nothing does.

Present wherever the grammar admits a liquid, sea or no sea: a dry world with rivers still has to draw them in something. Where a photograph exists the sea is in it and the renderer draws no sheet, so this is read only through the palette of a mapless body.

mapsreadonly

maps: readonly TextureMap[]

pigmentreadonly

pigment: LinearRgb

The color a biosphere paints the ground, where the cover says one grows.

A pigment rather than a modifier on color: chlorophyll is green on basalt and green on sandstone. Which pigment is the seed's, weighted the way the photochemistry argues — green is the common answer, and a purple or a near-black one is a world that found a different molecule.

reliefreadonly

relief: number

Peak-to-trough elevation the normal map represents, meters.

ringsreadonly

rings: RingSystem | null

roughnessreadonly

roughness: number

Microfacet roughness of the surface. 0 is a mirror; rock is near 1.

texturereadonly

texture: string | null

Texture-set key, or null for a body with no maps.

Generated from the source of @inertialref/universe and its comments. Nothing on this page is written by hand.