Skip to content

Options: Atmosphere

Matt edited this page Aug 18, 2022 · 1 revision

Geostationary rendering - i.e., not providing the reproject mode - allows for basic atmospheric effects to be added to the image.

For historical reasons, atmosphere is added via the -h / --haze command-line argument, and can be between 0.0 (no atmosphere) and 1.0 (full atmosphere). To adjust the atmospheric opacity, use the -O / --hazeopacity argument. This also has a range between 0.0 (transparent) and 1.0 (opaque).

The gradient used to create the effect is defined in Gradients\Atmosphere.json.

Examples, with no atmosphere and maximum atmosphere:

No atmosphere Maximum atmosphere

Sample usage

sanchez -o output -s sample-images -h 1.0 -O 0.5