cod5-sdk/deffiles/materials/mtl_effect_eyeoffset.template

24 lines
533 B
Text
Raw Normal View History

2008-11-20 00:00:00 +00:00
#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$" );