cod5-sdk/deffiles/materials/clamp.template
2008-11-20 00:00:00 +00:00

9 lines
267 B
Text

#if ("$colorMap$" != "" && "@tileColor@" != "tile both") || ("$normalMap$" != "" && "@tileNormal@" != "tile both") || (("$specColorMap$" != "" || "$cosinePowerMap$" != "") && "@tileSpecular@" != "tile both")
clamp( true );
#else
clamp( false );
#endif