$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
FogParams Struct Reference

Depth-based atmospheric fog parameters. More...

#include <postprocess.h>

Data Fields

float density
 
float start
 
float height_falloff
 
float color [3]
 

Detailed Description

Depth-based atmospheric fog parameters.

Field Documentation

◆ color

float FogParams::color[3]

Fog color (linear RGB).

◆ density

float FogParams::density

Exponential fog density.

◆ height_falloff

float FogParams::height_falloff

Vertical attenuation factor.

◆ start

float FogParams::start

Near distance where fog begins.


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