coastline 0.0.4
Loading...
Searching...
No Matches
coastline::Fog Struct Reference

The fog of the PC release: each vertex shows the share of its colour of the range by the reciprocal of its w, a share below 8 of 255 none, and the rest is the colour of the fog. More...

#include <scenerenderer.h>

Collaboration diagram for coastline::Fog:

Public Attributes

std::array< float, 3 > color {}
float range = 0.0f

Detailed Description

The fog of the PC release: each vertex shows the share of its colour of the range by the reciprocal of its w, a share below 8 of 255 none, and the rest is the colour of the fog.

Member Data Documentation

◆ color

std::array<float, 3> coastline::Fog::color {}

The colour of the fog, from 0 to 1.

◆ range

float coastline::Fog::range = 0.0f

The range, 8192 or on a clear night 16384.


The documentation for this struct was generated from the following file: