3.8.12 Atmospheric Effects

Describe various background and atmospheric features
ATMOSPHERIC_EFFECT:
MEDIA | BACKGROUND | FOG | SKY_SPHERE | RAINBOW

Quick Reference Contents

3.8.12.1 Background

Specify a background color for the scene:
BACKGROUND:
background { COLOR }

Quick Reference Contents

3.8.12.2 Fog

Simulate a hazy or foggy atmosphere:
FOG:
Jump to SDL
CONSTANT_FOG | GROUND_FOG
CONSTANT_FOG:
fog { [FOG_IDENTIFIER] [fog_type 1] FOG_ITEMS }
FOG_ITEMS:
distance FLOAT & COLOR & [TURBULENCE [turb_depth FLOAT]]
GROUND_FOG:
fog { [FOG_IDENTIFIER] fog_type 2 GROUND_FOG_ITEMS }
GROUND_FOG_ITEMS:
FOG_ITEMS & fog_offset FLOAT & fog_alt FLOAT & [up VECTOR [TRANSFORMATION...]]

Quick Reference Contents

3.8.12.3 Sky Sphere

Specify a sky pigment:
SKY_SPHERE:
sky_sphere { [SKY_SPHERE_IDENTIFIER] [SKY_SPHERE_ITEM...] }
SKY_SPHERE_ITEM:
PIGMENT | TRANSFORMATION

Quick Reference Contents

3.8.12.4 Rainbow

Specify a rainbow arc:
RAINBOW:
Jump to SDL
rainbow { [RAINBOW_IDENTIFIER] [RAINBOW_ITEMS] }
RAINBOW_ITEMS:
direction VECTOR & angle FLOAT & width FLOAT & distance FLOAT & COLOR_MAP & [jitter FLOAT] & [up VECTOR] & [arc_angle FLOAT] & [falloff_angle FLOAT]

Quick Reference Contents