UFO: Alien Invasion
Loading...
Searching...
No Matches
terrain_t Struct Reference

#include <r_material.h>

Collaboration diagram for terrain_t:
Collaboration graph

Data Fields

float floor
float ceil
float height

Detailed Description

Definition at line 99 of file r_material.h.

Field Documentation

◆ ceil

float terrain_t::ceil

if the vertex z position is greater than this, the alpha value will be 1

Definition at line 101 of file r_material.h.

Referenced by R_ParseStage(), and R_StageColor().

◆ floor

float terrain_t::floor

if the vertex z position is lower than this, the alpha value for the blended texture will be 0

Definition at line 100 of file r_material.h.

Referenced by R_ParseStage(), and R_StageColor().

◆ height

float terrain_t::height

the z distance between floor and ceiling

Definition at line 102 of file r_material.h.

Referenced by R_ParseStage(), and R_StageColor().


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