class Background::Atmosphere
- Background::Atmosphere
- Background
- Reference
- Object
Overview
Physically inspired model of color of the atmosphere
Defined in:
backgrounds/atmosphere.crConstant Summary
-
BETA_M =
Color.new(21e-6)
-
BETA_R =
Color.new(3.8e-6, 13.5e-6, 33.1e-6)
Constructors
Instance Method Summary
Instance methods inherited from class Background
get(ray : Ray) : Color
get
Constructor Detail
def self.new(sun_direction, earth_radius = 6360e3, atmosphere_radius = 6420e3, h_r = 7994.0, h_m = 1200.0)
#