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

24 lines
No EOL
533 B
Text

#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@
"eyeOffsetParms" = float4( @customString@, 0, 0, 0 );
}
refImage( "$colorMap$" );