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

21 lines
491 B
Text

#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