cod5-sdk/deffiles/materials/mtl_custom.template

22 lines
491 B
Plaintext

#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