cod5-sdk/deffiles/materials/clamp.template

10 lines
267 B
Text
Raw Normal View History

2008-11-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