zscript-doc/api/level/FColorMap.md

33 lines
589 B
Markdown
Raw Normal View History

2018-12-29 16:05:19 -08:00
# FColorMap
Describes the coloring of a sector.
```
struct FColorMap
{
uint8 BlendFactor;
uint8 Desaturation;
color FadeColor;
color LightColor;
}
```
- `BlendFactor`
TODO: "This is for handling Legacy-style color maps which use a different
formula to calculate how the color affects lighting."
2018-12-29 16:05:19 -08:00
- `Desaturation`
How much to desaturate colors in this sector. Range is 0 to 255, inclusive.
- `FadeColor`
The color of fog in this sector. None if all components are 0.
- `LightColor`
The color of the sector. Default if all components are 0.
<!-- EOF -->