REQUIRE_NORMAL

If this bool variable is defined in a shader and the warn_level variable is set to 1 or above, the engine issues warning 1552 when the normal map is missing.

REQUIRE_HEIGHT

If this bool variable is defined in a shader and the warn_level variable is set to 1 or above, the engine issues warning 1552 when the height map is missing on the alpha channel of the normal map.

PASS_SOLID

Sets the PASS_SOLID flag of the corresponding material.

TRANSLUCENT

Sets the TRANSLUCENT flag of the corresponding material.

AUTORELOAD

Sets the AUTORELOAD flag of the corresponding material.

Type:

bool

Example:

bool REQUIRE_NORMAL,PASS_SOLID;

See also:

MATERIAL, shaders, shader variables

► latest version online