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

20 lines
439 B
Text

refImage( "$colorMap$" );
#include "commonsetup.template"
techniqueSet( "distortion" );
textureTable
{
#if "$colorMap$" == ""
#error "colorMap may not be blank in distortion effect materials"
#endif
"colorMap" = map( "@tileColor@", "@filterColor@", "$colorMap$", @nopicmipColor@ ) "@formatColor@" : "colorMap";
}
constantTable
{
"distortionScale" = float4( @distortionScaleX@, @distortionScaleY@, 0, 0 );
}