dxEntityFX(entity%,fx%)

Parameters

entity - entity handle

fx -
0: nothing (default)
1: full-bright
2: use vertex colors instead of brush dxColor
4: flatshaded
8: disable fog
16: disable backface culling
32: force alpha-blending

Description

Sets miscellaneous effects for an entity.

Flags can be added to combine two or more effects. For example, specifying a flag of 3 (1+2) will result in a full-bright and vertex-coloured brush.

Flag 32, to force alpha-blending, must be used in order to enable vertex alpha (see dxVertexColor).

See also: dxVertexColor.

Index