Difference between revisions of "Planet Atmosphere"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
m (Fixed annotation on example image Primary Off - 2ndary On. Added example images for Haze density 0 and Bluesky density 0 & 1. Scaled example images to 800 pixels max. Commented out previous example images in case we need to revert.)
m (Replaced example images on Tweaks tab for Bluesky density colour settings. Taller images and adjustments to sRGB values to better illustrate setting's purpose and effect in sky.)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[File:Atmo_00_GUI.png|none|470px|Planet Atmosphere]]
 
[[File:Atmo_00_GUI.png|none|470px|Planet Atmosphere]]
<br />  
+
<br />
 
== Overview ==
 
== Overview ==
 
The Planet Atmosphere node provides all the effects of a full planetary atmosphere, including blue sky, the red of sunsets, and distance-enhancing haze. You can control many aspects of the atmosphere to fine-tune or enhance a realistic Earth-like atmosphere, or create completely alien skies. The default scene includes a Planet Atmosphere node. Note that clouds are created separately using the Add Cloud Layer button.
 
The Planet Atmosphere node provides all the effects of a full planetary atmosphere, including blue sky, the red of sunsets, and distance-enhancing haze. You can control many aspects of the atmosphere to fine-tune or enhance a realistic Earth-like atmosphere, or create completely alien skies. The default scene includes a Planet Atmosphere node. Note that clouds are created separately using the Add Cloud Layer button.
Line 9: Line 9:
  
 
* '''Enable secondary:''' Responsible for the global illumination, reflections and shadows of the atmosphere.  When enabled, shadows and reflections of the atmosphere are rendered. When disabled, they are not rendered, therefore the reddening of the light at sunset won’t be visible or  the atmosphere on the dark side of a planet will still be fully lit because the shadows aren't calculated.
 
* '''Enable secondary:''' Responsible for the global illumination, reflections and shadows of the atmosphere.  When enabled, shadows and reflections of the atmosphere are rendered. When disabled, they are not rendered, therefore the reddening of the light at sunset won’t be visible or  the atmosphere on the dark side of a planet will still be fully lit because the shadows aren't calculated.
[[File:Atmo_07v2_PrimaryOnSecondaryOn.jpg|200px|Primary and Secondary enabled.]][[File:Atmo_08v3_PrimaryOffSecondaryOn.jpg|200px|Primary disabled, Secondary enabled.]][[File:Atmo_09v2_PrimaryOnSecondaryOff.jpg|200px|Primary enabled, Secondary disabled.]][[File:Atmo_10v2_PrimaryOffSecondaryOff.jpg|200px|Primary and Secondary disabled.]]
+
 
 +
<br />
 +
{|
 +
|-
 +
| [[File:Atmo_07v2_PrimaryOnSecondaryOn.jpg|400px|Primary and Secondary enabled.]] || [[File:Atmo_08v3_PrimaryOffSecondaryOn.jpg|400px|Primary disabled, Secondary enabled.]]
 +
|-
 +
| [[File:Atmo_09v2_PrimaryOnSecondaryOff.jpg|400px|Primary enabled, Secondary disabled.]] || [[File:Atmo_10v2_PrimaryOffSecondaryOff.jpg|400px|Primary and Secondary disabled.]]
 +
|}
 
<br />
 
<br />
 
<!-- {|
 
<!-- {|
Line 17: Line 24:
 
| [[File:Atmo_09v2_PrimaryOnSecondaryOff.jpg|none|400px|Primary enabled, Secondary disabled.]] || [[File:Atmo_10v2_PrimaryOffSecondaryOff.jpg|none|400px|Primary and Secondary disabled.]]
 
| [[File:Atmo_09v2_PrimaryOnSecondaryOff.jpg|none|400px|Primary enabled, Secondary disabled.]] || [[File:Atmo_10v2_PrimaryOffSecondaryOff.jpg|none|400px|Primary and Secondary disabled.]]
 
|}
 
|}
<br /> -->
+
-->
 +
 
 +
<br />
 
== Main Tab ==
 
== Main Tab ==
 
[[File:Atmo_01_MainTab.png|none|470px|Planet Atmosphere Main Tab]]
 
[[File:Atmo_01_MainTab.png|none|470px|Planet Atmosphere Main Tab]]
 
<br />
 
<br />
'''Settings:'''
 
<ul>
 
* '''Haze density:'''
 
* '''Haze horizon colour:'''
 
* '''Bluesky density:'''
 
* '''Bluesky horizon colour:'''
 
* '''Bluesky additive:'''
 
* '''Redsky decay:'''
 
</ul>
 
[[File:Atmo_24_HazeDensity0.jpg|200px|Haze density = 0]][[File:Atmo_17_HazeDensity1.jpg|200px|Haze density = 1.0]][[File:Atmo_18_HazeDensity4.jpg|200px|Haze density = 4]][[File:Atmo_19v2_HazeDensity16.jpg|200px|Haze density = 16]]
 
  
[[File:Atmo_12v2_HorizonColour.jpg|200px|Horizon colour 184,132,84 (rbg)]][[File:Atmo_13v2_HorizonColour.jpg|200px|Horizon colour 135,170,78 (rgb)]][[File:Atmo_14v2_HorizonColour.jpg|200px|Horizon colour 159,79,168 (rgb)]]
+
'''Haze'''
 +
 
 +
"Haze" in Terragen is used create the appearance of moisture or haze in the atmosphere. It can be used to simulate a broad range of phenomena such as fog, mist, or dry haze caused by dust and smoke.
 +
 
 +
* '''Haze density:''' Controls how thick the haze appears. The default value is 1. Low values reduce the density, making clearer skies. High values increase the density, making the haze more opaque and the atmosphere take on more of the '''Haze horizon colour'''.
 +
* '''Haze horizon colour:''' Sets the colour of the haze. This should normally be a greyish colour (a value of 0.25 represents 100% albedo here). As the haze becomes more dense or viewed through a large distance, the colour of the haze will converge to this colour. However, the overall colour of atmosphere is a mixture of the Haze horizon colour and Bluesky horizon colour (which depends on the density settings) and is also affected by the lighting.
 +
 
 +
<br />
 +
 
 +
'''Bluesky'''
  
[[File:Atmo_26_BlueskyDensity0.jpg|200px|Bluesky density = 0]][[File:Atmo_25_BlueskyDensity1.jpg|200px|Bluesky density = 1]][[File:Atmo_20_BlueskyDensity2p5.jpg|200px|Bluesky density = 2.5 (default)]]
+
"Bluesky" in Terragen simulates the Rayleigh scattering phenomenon due to air molecules in the atmosphere, but can also be used to simulate very fine smoke particles. Rayleigh scattering causes the the sky to be blue during daylight and reddens the sun at sunset. It also affects the lighting of the scene and the appearance of distant objects.
  
[[File:Atmo_21_BlueskyDensity5.jpg|200px|Bluesky density = 5]][[File:Atmo_22_BlueskyDensity10.jpg|200px|Bluesky density = 10]][[File:Atmo_23_BlueskyDensity15.jpg|200px|Bluesky density = 15]]
+
* '''Bluesky density:''' Controls the strength of this scattering effect, or the density of air molecules or other Rayleigh-scattering particles in the atmosphere.
 +
* '''Bluesky horizon colour:''' Sets the convergence colour of the bluesky component. This should normally be a greyish colour (not too blue). This colour emerges where there is an equilibrium between inscattering and outscattering, but you can change it for artistic effect. This occurs wherever the bluesky becomes more dense or objects are viewed through a large distance (e.g. at the horizon) and is easier to see when haze density is low. Bluesky horizon colour can also be expressed with the Bluesky additive (inscattering) and the Redsky decay (outscattering) parameters, because of the mathematical relationship between them. ''Changing this value automatically changes the Bluesky additive parameter.''
 +
* '''Bluesky additive:''' Allows for the independent adjustment of the additive blue effect (inscattering). ''Changing this value automatically changes the Bluesky horizon colour because the horizon colour is the equilibrium between inscattering and outscattering.''
 +
* '''Redsky decay:''' Allows for the independent adjustment of the reddening effect (outscattering). ''Changing this value automatically changes the Bluesky horizon colour because the horizon colour is the equilibrium between inscattering and outscattering.''
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_24_HazeDensity0.jpg|200px|Haze density = 0]] || [[File:Atmo_17_HazeDensity1.jpg|200px|Haze density = 1.0]] || [[File:Atmo_18_HazeDensity4.jpg|200px|Haze density = 4]] || [[File:Atmo_19v2_HazeDensity16.jpg|200px|Haze density = 16]]
 +
|-
 +
| [[File:Atmo_125_MainTab_HazeDensity0.jpg|none|200px|Haze density = 0]] || [[File:Atmo_126_MainTab_HazeDensity1.jpg|none|200px|Haze density = 1]] || [[File:Atmo_127_MainTab_HazeDensity4.jpg|none|200px|Haze density = 4]] || [[File:Atmo_128_MainTab_HazeDensity16.jpg|none|200px|Haze density = 16]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_12v2_HorizonColour.jpg|none|266px|Horizon colour 184,132,84 (rbg)]] || [[File:Atmo_13v2_HorizonColour.jpg|none|266px|Horizon colour 135,170,78 (rgb)]] || [[File:Atmo_14v2_HorizonColour.jpg|none|266px|Horizon colour 159,79,168 (rgb)]]
 +
|-
 +
| [[File:Atmo_129_MainTab_HazeDensityOrange.jpg|none|266px|Horizon colour 184,132,84 (rgb)]] || [[File:Atmo_130_MainTab_HazeDensityGreen.jpg|none|266px|Horizon colour 135, 170,78 (rgb)]] || [[File:Atmo_131_MainTab_HazeDensityPink.jpg|none|266px|Horizon colour 159,79,168 (rgb)]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_26_BlueskyDensity0.jpg|none|266px|Bluesky density = 0]] || [[File:Atmo_25_BlueskyDensity1.jpg|none|266px|Bluesky density = 1]] || [[File:Atmo_20_BlueskyDensity2p5.jpg|none|266px|Bluesky density = 2.5 (default)]]
 +
|-
 +
| [[File:Atmo_132_MainTab_BlueskyDensity0.jpg|none|266px|Bluesky density = 0]] || [[File:Atmo_133_MainTab_BlueskyDensity1.jpg|none|266px|Bluesky density = 1]] || [[File:Atmo_134_MainTab_BlueskyDensity2p5.jpg|none|266px|Bluesky density = 2.5]]
 +
|-
 +
| [[File:Atmo_21_BlueskyDensity5.jpg|none|266px|Bluesky density = 5]]|| [[File:Atmo_22_BlueskyDensity10.jpg|none|266px|Bluesky density = 10]] || [[File:Atmo_23_BlueskyDensity15.jpg|none|266px|Bluesky density = 15]]
 +
|-
 +
| [[File:Atmo_135_MainTab_BlueskyDensity5.jpg|none|266px|Bluesky density = 5]] || [[File:Atmo_136_MainTab_BlueskyDensity10.jpg|none|266px|Bluesky density = 10]] || [[File:Atmo_137_MainTab_BlueskyDensity15.jpg|none|266px|Bluesky density = 15]]
 +
|}
 +
</ul>
 
<!-- {|
 
<!-- {|
 
|-
 
|-
Line 51: Line 90:
 
| [[File:Atmo_21_BlueskyDensity5.jpg|none|400px|Bluesky density = 5]] || [[File:Atmo_22_BlueskyDensity10.jpg|none|400px|Bluesky density = 10]] || [[File:Atmo_23_BlueskyDensity15.jpg|none|400px|Bluesky density = 15]]
 
| [[File:Atmo_21_BlueskyDensity5.jpg|none|400px|Bluesky density = 5]] || [[File:Atmo_22_BlueskyDensity10.jpg|none|400px|Bluesky density = 10]] || [[File:Atmo_23_BlueskyDensity15.jpg|none|400px|Bluesky density = 15]]
 
|} -->
 
|} -->
 +
 
<br />
 
<br />
 
== Height Control Tab ==
 
== Height Control Tab ==
 
[[File:Atmo_02_HeigtControlTab.png|none|470px|Planet Atmosphere Height Control Tab]]
 
[[File:Atmo_02_HeigtControlTab.png|none|470px|Planet Atmosphere Height Control Tab]]
 
<br />
 
<br />
 +
 +
In reality the atmosphere does not stop at any altitude, but continues to get thinner the higher you go, and some molecules can exist hundreds of kilometres up. Terragen sets a limit on how high it calculates the atmosphere, therefore no atmosphere is rendered above the '''Ceiling''' value.
 +
 +
Within the atmosphere defined by the '''Ceiling''' and '''Floor''' values, the relationship between altitude and density is modeled by an exponential falloff. "Exp height" parameters affect the rate of this falloff. If the "exp height" is 8000, this says that at 8000 metres above sea level the density is reduced to 37% of what it is at sea level. And every additional 8000 metres causes a further reduction by the same factor, so at 16000 metres you have 37% x 37% = 14%. This "magic number" of 37% comes from 1/e ~= 0.37.
 +
 +
These exp height parameters are known as "scale height" in atmospheric science. See also: https://en.wikipedia.org/wiki/Scale_height
 +
 +
<br />
 +
 
'''Settings:'''
 
'''Settings:'''
 +
 +
* '''Haze exp height:''' This controls the exponential falloff of the "Haze density" component. The value in the default scene is 2000, which says that at 2000 metres above sea level the density is reduced to 37% of what it is at sea level. Every increase in altitude by the exp height settings cause a further reduction by the same factor, so at 4000 metres you have 37% x 37% = 14%.
 +
** Lower values of exp height cause the density to change more rapidly with respect to altitude, reduce density everywhere above sea level and increase density everywhere below sea level. Lower values can make a scene appear to be bigger, especially if the overall density is increased as well.
 +
** Higher values of exp height cause the density to change more slowly with respect to altitude and increase density everywhere above sea level, while reducing density everywhere below sea level. Higher values can make a scene appear to be smaller, especially if the overall density is reduced as well.
 +
** Smaller values of "Haze exp height", such as 100, can be used simulate low-hanging fog, but note that the apparent height of the fog greatly depends on the "Haze density" setting on the Main tab, and you may need to increase this by a large amount to make the fog visible in your scene.
 +
* '''Bluesky exp height:''' This controls the exponential falloff of the density of the "Bluesky density" component. The default value is 8000, which is a good approximation of Earth's atmosphere. This value says that at 8000 metres above sea level the density is reduced to 37% of what it is at sea level. Every additional increase in altitude by the exp height causes a further reduction by the same factor, so at 16000 metres you have 37% x 37% = 14% of the atmosphere remaining.
 +
** Lower values of exp height cause the density to change more rapidly with respect to altitude and reduce density everywhere above sea level, while increasing density everywhere below sea level. Lower values can make a scene appear to be bigger, especially if the overall density is increased as well.
 +
** Higher values of exp height cause the density to change more slowly with respect to altitude and increase density everywhere above sea level, while reducing density everywhere below sea level. Higher values can make a scene appear to be smaller, especially if the overall density is reduced as well.
 +
* '''Ceiling adjust:''' A different way to express the Ceiling altitude with a predictable range of good values. It is the ratio of the ceiling altitude to the larger of the "Haze exp height" and "Bluesky exp height".
 +
* '''Ceiling:''' No atmosphere is rendered above this altitude. Sometimes in views from space you might notice a sharp line caused by this, in which case you can increase the value until it becomes imperceptible. This has the side effect of changing the distance between ray-marching samples and increasing noise, but you can compensate by increasing the number of samples on the Quality tab.
 +
* '''Floor:''' No atmosphere is rendered below this altitude. The atmosphere also casts a solid shadow using a invisible sphere whose size is defined by this setting. This allows planets to cast solid shadows onto their atmospheres and the atmospheres of other planets even when the atmospheres are set to ignore shadows of surfaces to make them render faster.
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_58_HeightControlTab_HazeExpHeight200.jpg|none|266px|Haze exp height = 200]] || [[File:Atmo_59_HeightControlTab_HazeExpHeight1000.jpg|none|266px|Haze exp height = 1000]] || [[File:Atmo_60_HeightControlTab_HazeHeExpHeight8000.jpg|none|266px|Haze exp height = 8000]]
 +
|-
 +
| [[File:Atmo_61_HeightControlTab_BlueskyExpHeight2000.jpg|none|266px|Bluesky exp height = 2000]] || [[File:Atmo_62_HeightControlTab_BlueskyExpHeight8000.jpg|none|266px|Bluesky exp height = 8000]] ||  [[File:Atmo_63_HeightControlTab_BlueskyExpHeight24000.jpg|none|266px|Bluesky exp height = 24000]]
 +
|-
 +
| [[File:Atmo_64_HeightControlTab_HazeExpHeight200.jpg|none|266px|Haze exp height = 200, Bluesky exp height = 8000]] || [[File:Atmo_65_HeightControlTab_HazeExpHeight1000.jpg|none|266px|Haze exp height = 1000, Bluesky exp height = 8000]] || [[File:Atmo_66_HeightControlTab_HazeExpHeight8000.jpg|none|266px|Haze exp height = 8000, Bluesky exp height = 8000]]
 +
|-
 +
| [[File:Atmo_67_HeightControlTab_BlueskyExpHeight2000.jpg|none|266px|Bluesky exp height = 2000, Haze exp height = 2000]] || [[File:Atmo_68_HeightControlTab_BlueskyExpHeight8000.jpg|none|266px|Bluesky exp height = 8000, Haze exp height = 2000]] || [[File:Atmo_69_HeightControlTab_BlueskyExpHeight24000.jpg|none|266px|Bluesky exp height = 24000, Haze exp height = 2000]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_33_HeightControlTab_CeilingAdjust3.jpg|none|400px|Ceiling adjust = 3]] || [[File:Atmo_34_HeightControlTab_CeilingAdjust9.jpg|none|400px|Ceiling adjust = 9]]
 +
|}
 +
</ul>
 
<ul>
 
<ul>
* '''Haze exp height:'''
+
{|
* '''Bluesky exp height:'''
+
|-
* '''Ceiling adjust:'''
+
| [[File:Atmo_88_HeightControlTab_FloorNeg16000.jpg|none|266px|Floor = -16,000 (default)]] || [[File:Atmo_35_HeightControlTab_FloorNeg2000.jpg|none|266px|Floor = -2000]] || [[File:Atmo_36_HeightControlTab_Floor4500.jpg|none|266px|Floor = 4500]]
* '''Ceiling:'''
+
|}
* '''Floor:'''
+
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_89_HeightControlTab_FloorNeg16k.jpg|none|400px|Floor = -16,000 (default)]] || [[File:Atmo_90_HeightControlTab_FloorNeg500k.jpg|none|400px|Floor = -500,000]]
 +
|-
 +
| [[File:Atmo_91_HeightControlTab_Floor16k.jpg|none|400px|Floor = 16,000]] || [[File:Atmo_92_HeightControlTab_Floor500k.jpg|none|400px|Floor = 500,000]]
 +
|}
 +
<!-- {|
 +
|-
 +
| [[File:Atmo_37_HeightControlTab_FloorNeg16000.jpg|none|400px|Floor = -16000 (default)]] || [[File:Atmo_38_HeightControlTab_Floor4000.jpg|none|400px|Floor = 4000]]
 +
|} -->
 
</ul>
 
</ul>
 
<br />
 
<br />
Line 68: Line 157:
 
<br />
 
<br />
 
'''Settings:'''
 
'''Settings:'''
<ul>
+
* '''Haze glow amount: '''This setting controls how far the sun’s glow extends through the atmosphere’s haze component.  Higher values result in a larger and brighter halo effect around the sun.  In order for this setting to have an effect, the sunlight node's “Glow in atmosphere and clouds” setting must be enabled.
* '''Haze glow amount:'''
+
* '''Haze glow power: '''This setting controls the brightness of the sun’s glow through the atmosphere’s haze component.  Lower values decrease the brightness of the halo effect around the sun, while higher values increase the brightness.
* '''Haze glow power:'''
+
* '''Bluesky glow amount: '''As of Terragen 4.5.43 frontier release the “Rayleigh phase function for bluesky component” setting must be disabled in order to access this setting.  This setting controls how far the sun’s glow extends through the atmosphere’s bluesky  component.  Higher values result in a larger, brighter and more blue halo effect around the sun.
* '''Bluesky glow amount:'''
+
* '''Bluesky glow power: '''This setting controls the brightness or intensity of the sun’s glow through the atmosphere’s bluesky component.  Lower values decrease the brightness of the halo effect around the sun, while higher values increase the brightness.  In order for this setting to have an effect the “Bluesky glow amount” must be greater than zero.
* '''Bluesky glow power:'''
+
* '''Rayleigh phase function: '''This setting was designed to produce a more realistic, physically based atmosphere. When enabled, the Bluesky glow settings are ignored and replaced by the Rayleigh phase function. It brightens the Bluesky components of the atmosphere by 50% in directions towards the sun and opposite the sun, and darkens it by 25% in directions that are 90 degrees away from the sun, or halfway between the two bright lobes.
* '''Rayleigh phase function:'''
 
 
* '''Enviro light:'''
 
* '''Enviro light:'''
 
* '''Enviro light tint:'''
 
* '''Enviro light tint:'''
* '''Anisotropic enviro light:'''
+
* '''Anisotropic enviro light: '''When enabled, enviro light (GI or Ambient Occlusion) contributions are weighted more strongly in the forward viewing direction than the backward viewing direction for thin clouds, and more strongly in the backward direction than the forward direction for dense clouds.
* '''Better cache radius:'''
+
* '''Better cache radius: '''When enabled, this setting improves the resolution and accuracy of enviro light (GI) in the atmosphere which can make a big difference in twilight scenes.  Some scenes will be affected more than others.
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_45_LightingTab_HazeSunGlowAmount_0001.jpg|none|266px|Haze sun glow amount = 0.15]] || [[File:Atmo_45_LightingTab_HazeSunGlowAmount_0002.jpg|none|266px|Haze sun glow amount = 1.5 (default)]] || [[File:Atmo_45_LightingTab_HazeSunGlowAmount_0003.jpg|none|266px|Haze sun glow amount = 4.0]]
 +
|}
 +
{|
 +
|-
 +
| [[File:Atmo_48_LightingTab_HazeSunGlowPower_0001.jpg|none|266px|Haze sun glow power = 0.5]] || [[File:Atmo_48_LightingTab_HazeSunGlowPower_0002.jpg|none|266px|Haze sun glow power = 1.0 (default)]] || [[File:Atmo_48_LightingTab_HazeSunGlowPower_0003.jpg|none|266px|Haze sun glow power = 1.5]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_49_LightingTab_BlueskyGlowAmount0.jpg|none|266px|Bluesky glow amount = 0 (default)]] || [[File:Atmo_51_LightingTab_BlueskyGlowAmount1.jpg|none|266px|Bluesky glow amount = 1.0]] || [[File:Atmo_52_LightingTab_BlueskyGlowAmount4.jpg|none|266px|Bluesky glow amount = 4]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_53_LightingTab_BlueskyGlowPower0p25.jpg|none|266px|Bluesky glow power = 0.25]] || [[File:Atmo_54_LightingTab_BlueskyGlowPower0p75.jpg|none|266px|Bluesky glow power = 0.75 (default)]] || [[File:Atmo_55_LightingTab_BlueskyGlowPower1p5.jpg|none|266px|Bluesky glow power = 1.5]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_56_LightingTab_RayleighOn.jpg|none|400px|Rayleigh phase function for bluesky component on. (default)]] || [[File:Atmo_57_LightingTab_RayleighOff.jpg|none|400px|Rayleigh phase function for bluesky component off.]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_72_LightingTab_RayleighOn.jpg|none|400px|Rayleigh phase function for bluesky component on.]] || [[File:Atmo_73_LightingTab_RayleighOff.jpg|none|400px|Rayleigh phase function for bluesky component off.]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_93_LightingTab_EnviroLight1.jpg|none|400px|Enviro light = 1]] || [[File:Atmo_94_LightingTab_EnviroLight10.jpg|none|400px|Enviro light = 10]]
 +
|-
 +
| [[File:Atmo_95_LightingTab_EnviroLightTint1.jpg|none|400px|Enviro light = 1, Enviro light tint = Cyan (0,255,255)]] || [[File:Atmo_96_LightingTab_EnviroLightTint10.jpg|none|400px|Enviro light = 10, Enviro light tint = Cyan (0,255,255)]]
 +
|}
 +
<!-- {|
 +
|-
 +
| [[File:Atmo_74_LightingTab_EnviroLight1.jpg|none|266px|Enviro light = 1]] || [[File:Atmo_75_LightingTab_EnviroLight50.jpg|none|266px|Enviro light = 50]] || [[File:Atmo_76_LightingTab_EnviroLight100.jpg|none|266px|Enviro light = 100]]
 +
|-
 +
| [[File:Atmo_77_LightingTab_EnviroLight1.jpg|none|266px|Enviro light = 1]] || [[File:Atmo_78_LightingTab_EnviroLight50.jpg|none|266px|Enviro light = 50]] ||[[File:Atmo_79_LightingTab_EnviroLight100.jpg|none|266px|Enviro light = 100]]
 +
|-
 +
| [[File:Atmo_80_LightingTab_EnviroLightTint1.jpg|none|266px|Enviro light tint = Orange (sRBG 255,128,0), Enviro light = 1]] || [[File:Atmo_81_LightingTab_EnviroLightTint50.jpg|none|266px|Enviro light tint = Orange (sRBG 255,128,0), Enviro light = 50]] || [[File:Atmo_82_LightingTab_EnviroLightTint100.jpg|none|266px|Enviro light tint = Orange (sRBG 255,128,0), Enviro light = 100]]
 +
|-
 +
| [[File:Atmo_83_LightingTab_EnviroLightTint1.jpg|none|266px|Enviro light tint = Orange (sRBG 255,128,0), Enviro light = 1]] || [[File:Atmo_84_LightingTab_EnviroLightTint50.jpg|none|266px|Enviro light tint = Orange (sRBG 255,128,0), Enviro light = 50]] || [[File:Atmo_85_LightingTab_EnviroLightTint100.jpg|none|266px|Enviro light tint = Orange (sRBG 255,128,0), Enviro light = 100]]
 +
|} -->
 
</ul>
 
</ul>
 
<br />
 
<br />
Line 84: Line 223:
 
<br />
 
<br />
 
'''Settings:'''
 
'''Settings:'''
 +
* '''Shadow function: '''This setting can be used to define additional regions in the atmosphere for any direct light sources that cast shadows. This may be useful to remove light in certain regions of the atmosphere when correct shadows of surfaces would be too expensive to calculate. Where the value is 1, or white, the atmosphere will receive no light contribution from light sources that have shadow casting enabled. Where the function is 0, or black, the atmosphere receives all the light from light sources. This function has no effect on the Enviro Light or light sources that do not have shadows enabled.
 
<ul>
 
<ul>
* '''Shadow function:'''
+
{|
 +
|-
 +
| [[File:Atmo_86_FunctionTab_ShadowFunctionOff.jpg|none|400px|Shadow function is off.]] || [[File:Atmo_87_FunctionTab_ShadowFunctionOn.jpg|none|400px|Simple shape shader assigned to Shadow function.]]
 +
|}
 
</ul>
 
</ul>
 
<br />
 
<br />
Line 92: Line 235:
 
<br />
 
<br />
 
'''Settings:'''
 
'''Settings:'''
<ul>
+
* '''Ambient: '''This setting defines a colour and intensity which is added to the lighting that illuminates the atmosphere. While disabled by default, so that only direct and indirect lighting (global illumination) affect the atmosphere, a practical example for using this setting would be to increase the overall brightness of the atmosphere.
* '''Ambient:'''
+
* '''Fake dark power: '''This setting is intended for planetary orbit views, as a way to artificially darken the atmosphere if it appears too bright, especially near the terminator, the line that divides the daylit side and the dark night side of a planetary body. Higher values increase the darkness of the atmosphere.
* '''Fake dark power:'''
+
* '''Fake dark sharpness: '''This setting is intended for planetary orbit views, as a way to artificially adjust the falloff of the terminator line on the atmosphere. In order for this setting to have an effect, the "Fake dark power" must be greater than 0. Higher values result in a quicker falloff or sharper transition.
* '''Fake dark sharpness:'''
+
* '''Bluesky density colour: '''This setting provides an alternative method of control over the bluesky component of the atmosphere.  It depends upon the chosen colour value to the right of its slider and the relationship between the “Bluesky additive” and “Redsky decay” settings found on the Main tab.  Changing this setting also changes the “Bluesky additive” setting on the Main tab.  If the “Bluesky density colour” is black, then the “Bluesky horizon colour” on the Main tab may also be 0, because the atmosphere has no density.  Likewise, if the “Bluesky additive” is 0, the “Bluesky horizon colour” should also be 0 because there is nothing to add light to in the atmosphere.  Lowering the value thins out the blue component of the sky, visually reducing the blue colour saturation in the atmosphere and biasing it towards “cooler” colour values. 
* '''Bluesky density colour:'''
 
 
* '''Redsky decay colour:'''
 
* '''Redsky decay colour:'''
* '''Ozone factor: '''
+
* '''Ozone factor: '''This controls the absorption strength of a simulated ozone layer in the atmosphere, which absorbs red and green light to produce bluer skies especially during sunrise and sunset. It strongly affects views from high altitude too. The height profile of the ozone layer is hard-coded to simulate an average Earth atmosphere, but automatically scales in proportion to the "Bluesky exp height" if it varies from the default value of 8000 metres. When “Bluesky exp height” is at the default value the ozone layer occurs between 12 kilometres and 63 kilometres, peaking in density at around 20 kilometres. Density also changes in proportion to bluesky density to produce realistic results in a variety of setups.The default project and newly created planet atmospheres have the ozone factor value set to 0.5.
 
* '''Improved glow model:'''
 
* '''Improved glow model:'''
* '''Reset Tweaks:'''
+
* '''Reset Tweaks: '''Clicking on this button will restore all the settings on this tab to their default settings.
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_100-2_TweaksTab_AmbientOff.jpg|none|400px|Ambient = Off (default)]] || [[File:Atmo_101-2_TweaksTab_Ambient1.jpg|none|400px|Ambient = 1]]
 +
|-
 +
| [[File:Atmo_138_TweaksTab_FakeDarkPower0_Sharpness10.jpg|none|400px|Fake dark power = 0, Fake dark sharpness = 10 (default)]] || [[File:Atmo_139_TweaksTab_FakeDarkPower1_Sharpness10.jpg|none|400px|Fake dark power = 1, Fake dark sharpness = 10]]
 +
|-
 +
| [[File:Atmo_140_TweaksTab_FakeDarkPower1_Sharpness0.jpg|none|400px|Fake dark power = 1, Fake dark sharpness = 0]] || [[File:Atmo_141_TweaksTab_FakeDarkPower1_Sharpness1.jpg|none|400px|Fake dark power = 1, Fake dark sharpness = 1]]
 +
|-
 +
| [[File:Atmo_142_TweaksTab_FakeDarkPower1_Sharpness50.jpg|none|400px|Fake dark power = 1, Fake dark sharpness = 50]] || [[File:Atmo_143_TweaksTab_FakeDarkPower1_Sharpness100.jpg|none|400px|Fake dark power = 1, Fake dark sharpness = 100]]
 +
|}
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_146_TweaksTab_BlueskyDensityColourR127G178B255.jpg|none|400px|Bluesky density colour = 1, sRGB = 127,178,255 (default)]] ||
 +
|-
 +
| [[File:Atmo_147_TweaksTab_BlueskyDensityColourR127G230B255.jpg|none|400px|Bluesky density colour = 1, sRGB = 127,230,255]] || [[File:Atmo_148_TweaksTab_BlueskyDensityColourR127G140B255.jpg|none|400px|Bluesky density colour = 1, sRGB = 127,140,255]]
 +
|-
 +
| [[File:Atmo_149_TweaksTab_BlueskyDensityColourR206G178B255.jpg|none|400px|Bluesky density colour = 1, sRGB = 206,178,255]] || [[File:Atmo_150_TweaksTab_BlueskyDensityColourR46G178B255.jpg|none|400px|Bluesky density colour = 1, sRGB = 46,178,255]]
 +
|}
 +
{|
 +
<!-- |-
 +
| [[File:Atmo_145_TweaksTab_BlueskyDensityColour1_sRGB127178255.jpg|none|800px|Bluesky density colour = 1, sRGB = 127,178,255 (default)]]
 +
|-
 +
| [[File:Atmo_144_TweaksTab_BlueskyDensityColour1_sRGB140229255.jpg|none|800px|Bluesky density colour = 1, sRGB = 140,229,255]]
 +
|} -->
 +
</ul>
 +
<ul>
 +
{|
 +
|-
 +
| [[File:Atmo_107_TweaksTab_OzoneFactor0.jpg|none|266px|Ozone factor = 0]] || [[File:Atmo_108_TweaksTab_OzoneFactor0p5.jpg|none|266px|Ozone factor = 0.5]] || [[File:Atmo_109_TweaksTab_OzoneFactor1.jpg|none|266px|Ozone factor = 1]]
 +
|-
 +
| [[File:Atmo_110_TweaksTab_OzoneFactor0.jpg|none|266px|Ozone factor = 0]] || [[File:Atmo_111_TweaksTab_OzoneFactor0p5.jpg|none|266px|Ozone factor = 0.5]] || [[File:Atmo_112_TweaksTab_OzoneFactor1.jpg|none|266px|Ozone factor = 1]]
 +
|-
 +
| [[File:Atmo_113_TweaksTab_OzoneFactor0.jpg|none|266px|Ozone factor = 0]] || [[File:Atmo_114_TweaksTab_OzoneFactor0p5.jpg|none|266px|Ozone factor = 0.5]] || [[File:Atmo_115_TweaksTab_OzoneFactor1.jpg|none|266px|Oaone factor = 1]]
 +
|}
 
</ul>
 
</ul>
 
<br />
 
<br />
Line 107: Line 286:
 
<br />
 
<br />
 
'''Settings:'''
 
'''Settings:'''
 +
* '''Number of samples: '''This setting helps to determine the quality of the atmosphere.  Lower values decrease render time but introduce noise into the rendered image.  Higher values increase render times but reduce noise.  Note that the “Anti-aliasing” setting under the Renderer’s Quality tab plays a significant roll in reducing overall noise in the image allowing you to use a fewer number of samples for the atmosphere.
 +
* '''Adjust to distance:'''
 +
* '''Receive shadows from surfaces: '''When this setting is enabled or checked, shadows cast by the terrain, clouds and 3D objects can affect the atmosphere. This setting is disabled by default because it can significantly increase render times.
 
<ul>
 
<ul>
* '''Number of samples:'''
+
{|
* '''Adjust to distance:'''
+
|-
* '''Receive shadows from surfaces'''
+
| [[File:Atmo_116_QualityTab_NumberOfSamples2_AAoff.jpg|none|400px|Number of samples = 2, Anti-aliasing off.]] || [[File:Atmo_117_QualityTab_NumberOfSamples2_AAon.jpg|none|400px|Number of samples = 2, Anti-aliasing on.]]
 +
|-
 +
| [[File:Atmo_118_QualityTab_NumberOfSamples64_AA0ff.jpg|none|400px|Number of samples = 64, Anti-aliasing off.]] || [[File:Atmo_119_QualityTab_NumberOfSamples64_AAon.jpg|none|400px|Number of samples = 64, Anti-aliasing on.]]
 +
|-
 +
| [[File:Atmo_120_QualityTab_AdjustToDistanceOff.jpg|none|400px|Number of samples = 2, Adjust to distance off.]] || [[File:Atmo_121_QualityTab_AdjustToDistanceOn.jpg|none|400px|Number of samples = 2, Adjust to distance on.]]
 +
|-
 +
| [[File:Atmo_123_QualityTab_ReceiveShadowsOff.jpg|none|400px|Receive shadows from surfaces is off.]] || [[File:Atmo_124_QualityTab_ReceiveShadows_On.jpg|none|400px|Receive shadows from surfaces is on.]]
 +
|}
 
</ul>
 
</ul>
 
<br />
 
<br />
  
 
<!-- The html code below is for the old example images -->
 
<!-- The html code below is for the old example images -->
 +
<!--
 
'''Example movies'''
 
'''Example movies'''
  
Line 177: Line 367:
 
|-
 
|-
 
|}
 
|}
 
+
-->
  
  

Latest revision as of 03:52, 20 November 2020

Planet Atmosphere


Overview[edit]

The Planet Atmosphere node provides all the effects of a full planetary atmosphere, including blue sky, the red of sunsets, and distance-enhancing haze. You can control many aspects of the atmosphere to fine-tune or enhance a realistic Earth-like atmosphere, or create completely alien skies. The default scene includes a Planet Atmosphere node. Note that clouds are created separately using the Add Cloud Layer button.

Settings:

  • Enable primary: Controls the visibility of the atmosphere itself, primarily manifested as haze. When enabled the camera directly sees the atmosphere, but when disabled causes the sky to become invisible to the camera. If Enable secondary is on, the atmosphere will still affect the lighting on any clouds and the terrain in the project.
  • Enable secondary: Responsible for the global illumination, reflections and shadows of the atmosphere. When enabled, shadows and reflections of the atmosphere are rendered. When disabled, they are not rendered, therefore the reddening of the light at sunset won’t be visible or the atmosphere on the dark side of a planet will still be fully lit because the shadows aren't calculated.


Primary and Secondary enabled. Primary disabled, Secondary enabled.
Primary enabled, Secondary disabled. Primary and Secondary disabled.



Main Tab[edit]

Planet Atmosphere Main Tab


Haze

"Haze" in Terragen is used create the appearance of moisture or haze in the atmosphere. It can be used to simulate a broad range of phenomena such as fog, mist, or dry haze caused by dust and smoke.

  • Haze density: Controls how thick the haze appears. The default value is 1. Low values reduce the density, making clearer skies. High values increase the density, making the haze more opaque and the atmosphere take on more of the Haze horizon colour.
  • Haze horizon colour: Sets the colour of the haze. This should normally be a greyish colour (a value of 0.25 represents 100% albedo here). As the haze becomes more dense or viewed through a large distance, the colour of the haze will converge to this colour. However, the overall colour of atmosphere is a mixture of the Haze horizon colour and Bluesky horizon colour (which depends on the density settings) and is also affected by the lighting.


Bluesky

"Bluesky" in Terragen simulates the Rayleigh scattering phenomenon due to air molecules in the atmosphere, but can also be used to simulate very fine smoke particles. Rayleigh scattering causes the the sky to be blue during daylight and reddens the sun at sunset. It also affects the lighting of the scene and the appearance of distant objects.

  • Bluesky density: Controls the strength of this scattering effect, or the density of air molecules or other Rayleigh-scattering particles in the atmosphere.
  • Bluesky horizon colour: Sets the convergence colour of the bluesky component. This should normally be a greyish colour (not too blue). This colour emerges where there is an equilibrium between inscattering and outscattering, but you can change it for artistic effect. This occurs wherever the bluesky becomes more dense or objects are viewed through a large distance (e.g. at the horizon) and is easier to see when haze density is low. Bluesky horizon colour can also be expressed with the Bluesky additive (inscattering) and the Redsky decay (outscattering) parameters, because of the mathematical relationship between them. Changing this value automatically changes the Bluesky additive parameter.
  • Bluesky additive: Allows for the independent adjustment of the additive blue effect (inscattering). Changing this value automatically changes the Bluesky horizon colour because the horizon colour is the equilibrium between inscattering and outscattering.
  • Redsky decay: Allows for the independent adjustment of the reddening effect (outscattering). Changing this value automatically changes the Bluesky horizon colour because the horizon colour is the equilibrium between inscattering and outscattering.
    Haze density = 0 Haze density = 1.0 Haze density = 4 Haze density = 16
    Haze density = 0
    Haze density = 1
    Haze density = 4
    Haze density = 16
    Horizon colour 184,132,84 (rbg)
    Horizon colour 135,170,78 (rgb)
    Horizon colour 159,79,168 (rgb)
    Horizon colour 184,132,84 (rgb)
    Horizon colour 135, 170,78 (rgb)
    Horizon colour 159,79,168 (rgb)
    Bluesky density = 0
    Bluesky density = 1
    Bluesky density = 2.5 (default)
    Bluesky density = 0
    Bluesky density = 1
    Bluesky density = 2.5
    Bluesky density = 5
    Bluesky density = 10
    Bluesky density = 15
    Bluesky density = 5
    Bluesky density = 10
    Bluesky density = 15


Height Control Tab[edit]

Planet Atmosphere Height Control Tab


In reality the atmosphere does not stop at any altitude, but continues to get thinner the higher you go, and some molecules can exist hundreds of kilometres up. Terragen sets a limit on how high it calculates the atmosphere, therefore no atmosphere is rendered above the Ceiling value.

Within the atmosphere defined by the Ceiling and Floor values, the relationship between altitude and density is modeled by an exponential falloff. "Exp height" parameters affect the rate of this falloff. If the "exp height" is 8000, this says that at 8000 metres above sea level the density is reduced to 37% of what it is at sea level. And every additional 8000 metres causes a further reduction by the same factor, so at 16000 metres you have 37% x 37% = 14%. This "magic number" of 37% comes from 1/e ~= 0.37.

These exp height parameters are known as "scale height" in atmospheric science. See also: https://en.wikipedia.org/wiki/Scale_height


Settings:

  • Haze exp height: This controls the exponential falloff of the "Haze density" component. The value in the default scene is 2000, which says that at 2000 metres above sea level the density is reduced to 37% of what it is at sea level. Every increase in altitude by the exp height settings cause a further reduction by the same factor, so at 4000 metres you have 37% x 37% = 14%.
    • Lower values of exp height cause the density to change more rapidly with respect to altitude, reduce density everywhere above sea level and increase density everywhere below sea level. Lower values can make a scene appear to be bigger, especially if the overall density is increased as well.
    • Higher values of exp height cause the density to change more slowly with respect to altitude and increase density everywhere above sea level, while reducing density everywhere below sea level. Higher values can make a scene appear to be smaller, especially if the overall density is reduced as well.
    • Smaller values of "Haze exp height", such as 100, can be used simulate low-hanging fog, but note that the apparent height of the fog greatly depends on the "Haze density" setting on the Main tab, and you may need to increase this by a large amount to make the fog visible in your scene.
  • Bluesky exp height: This controls the exponential falloff of the density of the "Bluesky density" component. The default value is 8000, which is a good approximation of Earth's atmosphere. This value says that at 8000 metres above sea level the density is reduced to 37% of what it is at sea level. Every additional increase in altitude by the exp height causes a further reduction by the same factor, so at 16000 metres you have 37% x 37% = 14% of the atmosphere remaining.
    • Lower values of exp height cause the density to change more rapidly with respect to altitude and reduce density everywhere above sea level, while increasing density everywhere below sea level. Lower values can make a scene appear to be bigger, especially if the overall density is increased as well.
    • Higher values of exp height cause the density to change more slowly with respect to altitude and increase density everywhere above sea level, while reducing density everywhere below sea level. Higher values can make a scene appear to be smaller, especially if the overall density is reduced as well.
  • Ceiling adjust: A different way to express the Ceiling altitude with a predictable range of good values. It is the ratio of the ceiling altitude to the larger of the "Haze exp height" and "Bluesky exp height".
  • Ceiling: No atmosphere is rendered above this altitude. Sometimes in views from space you might notice a sharp line caused by this, in which case you can increase the value until it becomes imperceptible. This has the side effect of changing the distance between ray-marching samples and increasing noise, but you can compensate by increasing the number of samples on the Quality tab.
  • Floor: No atmosphere is rendered below this altitude. The atmosphere also casts a solid shadow using a invisible sphere whose size is defined by this setting. This allows planets to cast solid shadows onto their atmospheres and the atmospheres of other planets even when the atmospheres are set to ignore shadows of surfaces to make them render faster.
    Haze exp height = 200
    Haze exp height = 1000
    Haze exp height = 8000
    Bluesky exp height = 2000
    Bluesky exp height = 8000
    Bluesky exp height = 24000
    Haze exp height = 200, Bluesky exp height = 8000
    Haze exp height = 1000, Bluesky exp height = 8000
    Haze exp height = 8000, Bluesky exp height = 8000
    Bluesky exp height = 2000, Haze exp height = 2000
    Bluesky exp height = 8000, Haze exp height = 2000
    Bluesky exp height = 24000, Haze exp height = 2000
    Ceiling adjust = 3
    Ceiling adjust = 9
    Floor = -16,000 (default)
    Floor = -2000
    Floor = 4500
    Floor = -16,000 (default)
    Floor = -500,000
    Floor = 16,000
    Floor = 500,000


Lighting Tab[edit]

Planet Atmosphere Lighting Tab


Settings:

  • Haze glow amount: This setting controls how far the sun’s glow extends through the atmosphere’s haze component. Higher values result in a larger and brighter halo effect around the sun. In order for this setting to have an effect, the sunlight node's “Glow in atmosphere and clouds” setting must be enabled.
  • Haze glow power: This setting controls the brightness of the sun’s glow through the atmosphere’s haze component. Lower values decrease the brightness of the halo effect around the sun, while higher values increase the brightness.
  • Bluesky glow amount: As of Terragen 4.5.43 frontier release the “Rayleigh phase function for bluesky component” setting must be disabled in order to access this setting. This setting controls how far the sun’s glow extends through the atmosphere’s bluesky component. Higher values result in a larger, brighter and more blue halo effect around the sun.
  • Bluesky glow power: This setting controls the brightness or intensity of the sun’s glow through the atmosphere’s bluesky component. Lower values decrease the brightness of the halo effect around the sun, while higher values increase the brightness. In order for this setting to have an effect the “Bluesky glow amount” must be greater than zero.
  • Rayleigh phase function: This setting was designed to produce a more realistic, physically based atmosphere. When enabled, the Bluesky glow settings are ignored and replaced by the Rayleigh phase function. It brightens the Bluesky components of the atmosphere by 50% in directions towards the sun and opposite the sun, and darkens it by 25% in directions that are 90 degrees away from the sun, or halfway between the two bright lobes.
  • Enviro light:
  • Enviro light tint:
  • Anisotropic enviro light: When enabled, enviro light (GI or Ambient Occlusion) contributions are weighted more strongly in the forward viewing direction than the backward viewing direction for thin clouds, and more strongly in the backward direction than the forward direction for dense clouds.
  • Better cache radius: When enabled, this setting improves the resolution and accuracy of enviro light (GI) in the atmosphere which can make a big difference in twilight scenes. Some scenes will be affected more than others.
    Haze sun glow amount = 0.15
    Haze sun glow amount = 1.5 (default)
    Haze sun glow amount = 4.0
    Haze sun glow power = 0.5
    Haze sun glow power = 1.0 (default)
    Haze sun glow power = 1.5
    Bluesky glow amount = 0 (default)
    Bluesky glow amount = 1.0
    Bluesky glow amount = 4
    Bluesky glow power = 0.25
    Bluesky glow power = 0.75 (default)
    Bluesky glow power = 1.5
    Rayleigh phase function for bluesky component on. (default)
    Rayleigh phase function for bluesky component off.
    Rayleigh phase function for bluesky component on.
    Rayleigh phase function for bluesky component off.
    Enviro light = 1
    Enviro light = 10
    Enviro light = 1, Enviro light tint = Cyan (0,255,255)
    Enviro light = 10, Enviro light tint = Cyan (0,255,255)


Functions Tab[edit]

Planet Atmosphere Functions Tab


Settings:

  • Shadow function: This setting can be used to define additional regions in the atmosphere for any direct light sources that cast shadows. This may be useful to remove light in certain regions of the atmosphere when correct shadows of surfaces would be too expensive to calculate. Where the value is 1, or white, the atmosphere will receive no light contribution from light sources that have shadow casting enabled. Where the function is 0, or black, the atmosphere receives all the light from light sources. This function has no effect on the Enviro Light or light sources that do not have shadows enabled.
    Shadow function is off.
    Simple shape shader assigned to Shadow function.


Tweaks Tab[edit]

Planet Atmosphere Tweaks Tab


Settings:

  • Ambient: This setting defines a colour and intensity which is added to the lighting that illuminates the atmosphere. While disabled by default, so that only direct and indirect lighting (global illumination) affect the atmosphere, a practical example for using this setting would be to increase the overall brightness of the atmosphere.
  • Fake dark power: This setting is intended for planetary orbit views, as a way to artificially darken the atmosphere if it appears too bright, especially near the terminator, the line that divides the daylit side and the dark night side of a planetary body. Higher values increase the darkness of the atmosphere.
  • Fake dark sharpness: This setting is intended for planetary orbit views, as a way to artificially adjust the falloff of the terminator line on the atmosphere. In order for this setting to have an effect, the "Fake dark power" must be greater than 0. Higher values result in a quicker falloff or sharper transition.
  • Bluesky density colour: This setting provides an alternative method of control over the bluesky component of the atmosphere. It depends upon the chosen colour value to the right of its slider and the relationship between the “Bluesky additive” and “Redsky decay” settings found on the Main tab. Changing this setting also changes the “Bluesky additive” setting on the Main tab. If the “Bluesky density colour” is black, then the “Bluesky horizon colour” on the Main tab may also be 0, because the atmosphere has no density. Likewise, if the “Bluesky additive” is 0, the “Bluesky horizon colour” should also be 0 because there is nothing to add light to in the atmosphere. Lowering the value thins out the blue component of the sky, visually reducing the blue colour saturation in the atmosphere and biasing it towards “cooler” colour values.
  • Redsky decay colour:
  • Ozone factor: This controls the absorption strength of a simulated ozone layer in the atmosphere, which absorbs red and green light to produce bluer skies especially during sunrise and sunset. It strongly affects views from high altitude too. The height profile of the ozone layer is hard-coded to simulate an average Earth atmosphere, but automatically scales in proportion to the "Bluesky exp height" if it varies from the default value of 8000 metres. When “Bluesky exp height” is at the default value the ozone layer occurs between 12 kilometres and 63 kilometres, peaking in density at around 20 kilometres. Density also changes in proportion to bluesky density to produce realistic results in a variety of setups.The default project and newly created planet atmospheres have the ozone factor value set to 0.5.
  • Improved glow model:
  • Reset Tweaks: Clicking on this button will restore all the settings on this tab to their default settings.
    Ambient = Off (default)
    Ambient = 1
    Fake dark power = 0, Fake dark sharpness = 10 (default)
    Fake dark power = 1, Fake dark sharpness = 10
    Fake dark power = 1, Fake dark sharpness = 0
    Fake dark power = 1, Fake dark sharpness = 1
    Fake dark power = 1, Fake dark sharpness = 50
    Fake dark power = 1, Fake dark sharpness = 100
    Bluesky density colour = 1, sRGB = 127,178,255 (default)
    Bluesky density colour = 1, sRGB = 127,230,255
    Bluesky density colour = 1, sRGB = 127,140,255
    Bluesky density colour = 1, sRGB = 206,178,255
    Bluesky density colour = 1, sRGB = 46,178,255
    Ozone factor = 0
    Ozone factor = 0.5
    Ozone factor = 1
    Ozone factor = 0
    Ozone factor = 0.5
    Ozone factor = 1
    Ozone factor = 0
    Ozone factor = 0.5
    Oaone factor = 1


Quality Tab[edit]

Planet Atmosphere Quality Tab


Settings:

  • Number of samples: This setting helps to determine the quality of the atmosphere. Lower values decrease render time but introduce noise into the rendered image. Higher values increase render times but reduce noise. Note that the “Anti-aliasing” setting under the Renderer’s Quality tab plays a significant roll in reducing overall noise in the image allowing you to use a fewer number of samples for the atmosphere.
  • Adjust to distance:
  • Receive shadows from surfaces: When this setting is enabled or checked, shadows cast by the terrain, clouds and 3D objects can affect the atmosphere. This setting is disabled by default because it can significantly increase render times.
    Number of samples = 2, Anti-aliasing off.
    Number of samples = 2, Anti-aliasing on.
    Number of samples = 64, Anti-aliasing off.
    Number of samples = 64, Anti-aliasing on.
    Number of samples = 2, Adjust to distance off.
    Number of samples = 2, Adjust to distance on.
    Receive shadows from surfaces is off.
    Receive shadows from surfaces is on.


A single object or device in the node network which generates or modifies data and may accept input data or create output data or both, depending on its function. Nodes usually have their own settings which control the data they create or how they modify data passing through them. Nodes are connected together in a network to perform work in a network-based user interface. In Terragen 2 nodes are connected together to describe a scene.

A parameter is an individual setting in a node parameter view which controls some aspect of the node.