ForceShadows (Material global keyword)

From modwiki

Jump to: navigation, search

Description

Forces this surfaces with this material keyword to cast shadows.

Usage

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

forceShadows

Parameters

Not Available.

Notes

This keyword is useful for forcing materials to cast shadows that would otherwise not. For instance, textures/common/nodraw does not cast shadows but could be made to through use of this global keyword.


Personal tools
Main
id Tech 5