cod2-sdk/deffiles/materials/mtl_effect_eyeoffset.template
2006-04-20 00:00:00 +00:00

22 lines
477 B
Text

refImage( "$colorMap$" );
#include "commonsetup.template"
techniqueSet( "effect_add_eyeoffset" );
textureTable
{
#if "$colorMap$" == ""
#error "colorMap may not be blank in effect materials"
#endif
"colorMap" = map( "@tileColor@", "@filterColor@", "$colorMap$", @nopicmipColor@ ) "@formatColor@" : "colorMap";
}
constantTable
{
#if @zFeather@
"featherParms" = float4( 1.0 / @zFeatherDepth@, @zFeatherDepth@, 0, 0 );
#endif // #if @zFeather@
}