cod2-sdk/deffiles/materials/clamp.template

10 lines
267 B
Plaintext
Raw Normal View History

2006-04-20 00:00:00 +00:00
#if ("$colorMap$" != "" && "@tileColor@" != "tile both") || ("$normalMap$" != "" && "@tileNormal@" != "tile both") || (("$specColorMap$" != "" || "$cosinePowerMap$" != "") && "@tileSpecular@" != "tile both")
clamp( true );
#else
clamp( false );
#endif