Skip to content

Commit

Permalink
Correct AFG Units (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDizzy authored Jul 22, 2024
1 parent 5379a0e commit 0ec27fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wwwroot/content/syntax/Atmosphere/AtmosphereFromGround.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Atmosphere
|--------|------|-----------|
|DEBUG_alwaysUpdateAll|Boolean|Whether all parameters should get recalculated and reapplied every frame.|
|doScale|Boolean|Whether the atmosphere mesh should be scaled automatically.|
|innerRadius|Decimal|The lower bound of the atmosphere effect in 1/6000ths of a meter.|
|outerRadius|Decimal|The upper bound of the atmosphere effect in 1/6000ths of a meter.|
|innerRadius|Decimal|The lower bound of the atmosphere effect in meters.|
|outerRadius|Decimal|The upper bound of the atmosphere effect in meters.|
|invWaveLength|BandOffset|The inverse wavelength. Either this OR `waveLength` should be used. The inverse wavelength is equivalent to each of the color values of the `waveLength` as x: `1/(x^4)` with an alpha of 0.5.|
|waveLength|BandOffset|The wavelength of the atmosphere. Either this OR `invWaveLength` should be used. The wavelength is equal to each of the color values of the `invWaveLength` as x: `sqrt(sqrt(1/x))` with an alpha of 0.5.|
|samples|Decimal|?|
|transformScale|Vector3|The scale of the atmosphere mesh in all three directions. Automatically set if `doScale` is enabled. If this is set, then `doScale` is set to false automatically.|
|innerRadiusMult|Decimal|A multiplier that automatically sets innerRadius based on the planet's radius. Replaces `innerRadius`.|
|outerRadiusMult|Decimal|A multiplier that automatically sets outerRadius based on the planet's radius. Replaces `outerRadius`.|

BandOffset is an input type unique to AtmosphereFromGround and is not strictly a color. Instead, it is the amount a series of specifically-colored bands are offset up and down. The way in which these bands overlap determine the atmosphere color. Note that in `waveLength`, a value of 1 means the band is all the way down.
BandOffset is an input type unique to AtmosphereFromGround and is not strictly a color. Instead, it is the amount a series of specifically-colored bands are offset up and down. The way in which these bands overlap determine the atmosphere color. Note that in `waveLength`, a value of 1 means the band is all the way down. Usage of KittopiaTech is recommended to set these parameters.

0 comments on commit 0ec27fb

Please sign in to comment.