EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

LightProfileDefinition

The steady light of a room (houses, dungeons): sky light, a key light from above, the backdrop, haze and how dark it counts for lights that burn in the dark. Strengths are shares of the world's midday.

Signature

{ ambient: ProfileAmbient, background_rgb: {ColorChannel}, darkness_permille: RoomDarkness, fog: ProfileFog, hero: (ProfileHeroLight)?, id: ContentId, key: ProfileKeyLight, matte_permille: (Permille)?, occlusion_permille: (Permille)?, shadow_lift_permille: (Permille)? }

Fields

NameTypeMeaning
ambientProfileAmbientSky light from above and below.
background_rgb{ColorChannel}Red, green and blue of the backdrop around the room.
Items: 3…3
darkness_permilleRoomDarknessHow dark the room counts for what burns in the dark (lamps, night-only fires, the hero light): 0 day, 800 deep dusk.
Range: 0…800; Unit: permille
fogProfileFogHaze into the depth of the room.
heroProfileHeroLightThe light each player carries in the room, so they stay the brightest spot; absent: the world's night hero light from the room's darkness of 500 on.
idContentIdPackage-qualified identity; unique within its declaring namespace.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
keyProfileKeyLightThe room's key light from above (its sun).
matte_permillePermilleHow matte the room's surfaces are: raises their roughness towards fully rough and takes their shine; absent: 0, the materials' own.
Range: 0…1000; Unit: permille
occlusion_permillePermilleHow deep corners, seams and wall feet darken: the share of light the voxel occlusion takes from the sky light (half of it also from lamps and the key light); absent: 450.
Range: 0…1000; Unit: permille
shadow_lift_permillePermilleHow much of the world's warm shadow lift the room keeps on its dark tones; low for a room whose own cool or green darkness should show; absent: 1000, all of it.
Range: 0…1000; Unit: permille