Xors3d Engine
FX flags

Defines

#define FX_DISABLECULLING   16
#define FX_DISABLEFOG   8
#define FX_FLATSHADED   4
#define FX_FULLBRIGHT   1
#define FX_NOALPHABLEND   32
#define FX_NOTHING   0
#define FX_VERTEXCOLOR   2

Define Documentation

#define FX_NOTHING   0

No effects will be applied to an entity / surface.

#define FX_FULLBRIGHT   1

Lights will not affect the entity / surface.

#define FX_VERTEXCOLOR   2

Vertex diffuse color will be used instead of material diffuse color (set by xEntityColor() command).

#define FX_FLATSHADED   4

In the flat shading mode, the rendering pipeline renders a polygon, using the color of the polygon material at its first vertex as the color for the entire polygon. 3D objects that are rendered with flat shading have visibly sharp edges between polygons if they are not coplanar.

#define FX_DISABLEFOG   8

Fog will not affect the entity / surface.

#define FX_DISABLECULLING   16

Entity / surface will be rendered without backface culling (two-sided triangles).

#define FX_NOALPHABLEND   32

Forcibly disables alpha blending.