R2 Core Shaders
Data Fields
R2_fog_t Struct Reference

The type of fog parameters. More...

#include <R2Fog.h>

Data Fields

float z_near
 
float z_far
 
vec3 color
 The fog color.
 

Detailed Description

The type of fog parameters.

Definition at line 9 of file R2Fog.h.

Field Documentation

§ z_far

float R2_fog_t::z_far

The positive eye-space Z distance that fog ends. Anything beyond this distance will be fully fogged.

Definition at line 15 of file R2Fog.h.

§ z_near

float R2_fog_t::z_near

The positive eye-space Z distance that fog starts Anything closer than this distance will not have any fog applied.

Definition at line 12 of file R2Fog.h.


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