Discrete (Material global keyword)

From modwiki

Jump to: navigation, search

Description

The discrete keyword is used to prevent the map compiler from merging adjacent polygons that are textured with the associated surface, even if the texture orientation and alignment is identical.

Usage

In the global section of your material shader type...

discrete

Parameters

Not Available.

Notes

Discrete surfaces will not be clipped to the world, and it is suggested that this keyword is used in surfaces like GUIs or mirrors. Surfaces with this option can be used to facilitate brush carving, by allowing manually-split brushes to remain separate after compilation, although extensive use of this keyword may lead to a suboptimal number of polygons in the map.


Personal tools
Main