cod4-sdk/deffiles/materials/mtl_custom.template

22 lines
491 B
Text
Raw Normal View History

2008-01-19 00:00:00 +00:00
#include "commonsetup.template"
techniqueSet( "@customString@" );
textureTable
{
#if "$colorMap$" != ""
"colorMap" = map( "@tileColor@", "@filterColor@", "$colorMap$", @nopicmipColor@ ) "@formatColor@" : "colorMap";
#endif
#if "$detailMap$" != ""
"detailMap" = map( "tile both", "@filterDetail@", "$detailMap$", @nopicmipDetail@ ) "@formatDetail@" : "colorMap";
#endif
}
#if "$colorMap$" != ""
refImage( "$colorMap$" );
#else
refImage( "$white" );
#endif