- lat
Latitude in degrees, between -90 and 90.
- long
Longitude in degrees, between -180 and 180.
- datetime
A single POSIXct date and time. Specify its time zone when
constructing it with as.POSIXct().
- intensity
Default 1. Nonnegative multiplier for this light's radiance.
- rotation
Default 0. Additional rotation in degrees around the world
Y axis, using the same convention as infinite_light().
- name
Default "sky". Unique light name within the scene.
- altitude
Default 0. Observer altitude in meters above sea level for
the entire sky image. Prague supports 0--15000 m with its full-altitude data.
- visibility
Default 131.8. Prague meteorological visibility in kilometers,
from 20 to 131.8. Smaller values produce stronger haze.
- albedo
Default 0.5. Uniform ground reflectance for the sky model,
between 0 and 1. Local surface materials are specified separately.
- resolution
Default 2048. Height of the cached image in pixels;
its width is twice the height.
- hosek
Default TRUE. Generate a Hosek sky. Set FALSE to use Prague.
- render_mode
Default "all". Select sky and Sun ("all"), sky without
the solar disk ("atmosphere"), or the solar disk alone ("sun").
Moon, star, and planet switches are independent of this selection.
- turbidity
Default 3. Hosek turbidity, from 1.7 to 10.
- wide_spectrum
Default FALSE. Use Prague's 55-channel sea-level data.
- below_horizon
Default TRUE. Include atmospheric radiance below the horizon.
- prague_rgb_correction
Default TRUE. Apply skymodelr's Prague RGB
tint correction.
- prague_rgb_correction_strength
Default 1. Strength of the Prague RGB
tint correction. Must be finite and nonnegative: 0 disables correction,
and 1 applies the full calibrated correction.
- prague_rgb_correction_gain
Default "auto". Calibrated Prague RGB
gains, or a numeric vector of three finite, positive linear RGB multipliers.
- stars
Default FALSE. Composite stars into the sky image.
- star_width
Default 1. Stellar point-spread size, passed to
skymodelr::generate_stars().
- stars_exposure
Default 0. Artistic exposure adjustment for stars, in stops.
- planets
Default FALSE. Composite bright planets into the sky image.
- moon
Default TRUE. Composite a Moon image into the sky.
Set FALSE when adding a separate moon_light().
- moon_atmosphere
Default FALSE. Include atmospheric scattering of moonlight.
- moon_hosek
Default TRUE. Use Hosek for moonlight scattering.
Set FALSE to use Prague.
- exr_adopted_white
Default "D60". Adopted white for EXR metadata:
"D60", "D65", or numeric XYZ with Y = 1. Does not change image pixels.
- exr_metadata
Default TRUE. Attach skymodelr color metadata to the EXR.
- number_cores
Default 1. CPU threads used to generate the cached image.
- verbose
Default FALSE. Print sky-generation progress information.
- sun
Default TRUE. Include the solar disk when selected by render_mode.
Set FALSE to omit it from the image.
- environment_light_bake_white
Default FALSE. Bake chromatic adaptation
from the generated EXR's white_current metadata into its RGB pixels before
using it for lighting. Requires exr_metadata = TRUE. The adapted image is
cached and reused for still images and animations.
- environment_light_bake_white_target
Default "D65". Target white point
when baking: "D50", "D55", "D60", "D65", "D75", "E", or a finite
numeric XYZ vector with positive Y (normalized to Y = 1). Unlike
exr_adopted_white, this changes the image pixels when baking is enabled.
- ...
Additional named arguments forwarded by
skymodelr::generate_sky_latlong() to its star, planet, and Moon generators.
Pass settings directly; location, datetime, and the cached filename are
managed by this light. Native atmospheric controls belong to sky_light().