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

23 lines
No EOL
638 B
Text

#include "commonsetup.template"
techniqueSet( "reflexsight" );
textureTable
{
#if "$colorMap$" == ""
#error "colorMap may not be blank in reflexsight materials"
#endif
"colorMap" = map( "@tileColor@", "@filterColor@", "$colorMap$", @nopicmipColor@ ) "@formatColor@" : "colorMap";
#if ("$detailMap$" == "")
#error "detail map may not be blank in reflexsight materials"
#endif
"detailMap" = map( "tile both", "@filterDetail@", "$detailMap$", @nopicmipDetail@ ) "@formatDetail@" : "colorMap";
}
constantTable
{
"detailScale" = float4( @detailScaleX@, @detailScaleY@, 0, 0 );
}
refImage( "$colorMap$" );