cod4-sdk/deffiles/materials/commonsetup.template

14 lines
754 B
Text
Raw Normal View History

2008-01-19 00:00:00 +00:00
#include "refblend.template"
#include "sort.template"
#include "clamp.template"
tessSize( @tessSize@ );
#include "textureAtlas.template"
hasEditorMaterial( @hasEditorMaterial@ );
allocLightmap( "@materialType@" == "world phong" || "@materialType@" == "model phong" || "@materialType@" == "impact mark" );
forModel( "@materialType@" == "model phong" || "@materialType@" == "model ambient" || "@materialType@" == "model unlit" );
forWorld( "@materialType@" == "world phong" || "@materialType@" == "world unlit" || "@materialType@" == "tools" || "@materialType@" == "sky" || "@materialType@" == "water" || "@materialType@" == "custom" || "@materialType@" == "impact mark" || "@materialType@" == "distortion" );
#include "statebits.template"