ZNEAR
Reduces the clipping distance of a model or sprite entity, thus preventing
clipping by walls or other entities.
This flag is useful to prevent
that weapon models carried in front of the camera penetrate walls, or
for ensuring that explosion sprites are fully visible and not clipped
by the ground.
Type:
Flag
Remarks:
If this flag is set, the MaxZ value of the D3D viewport is temporarily reduced
by the d3d_near_models or d3d_near_sprites factor, depending on
the type of the entity. Adjust the factors for fine-tuning the clipping.
Example:
my.ZNEAR = ON;
set(my,ZNEAR);
See also:
d3d_near_models,
d3d_near_sprites
► latest
version online