cod4-sdk/deffiles/materials/mtl_tools.template
2008-01-19 00:00:00 +00:00

22 lines
No EOL
497 B
Text

#include "commonsetup.template"
techniqueSet( "tools" );
textureTable
{
#if "$colorMap$" == ""
#error "colorMap may not be blank in tools materials"
#endif
"colorMap" = map( "@tileColor@", "@filterColor@", "$colorMap$", @nopicmipColor@ ) "@formatColor@" : "colorMap";
"normalMap" = map( "tile both", "nomip nearest", "$identityNormalMap", 1 ) "<auto compression>" : "normalMap";
}
constantTable
{
"colorTint" = float4( @,colorTint@ );
}
refImage( "$colorMap$" );