cod5-sdk/deffiles/materials/polygonoffset.template
2008-11-20 00:00:00 +00:00

17 lines
270 B
Text

#if "@polygonOffset@" == "None"
polygonOffset( 0 );
#elif "@polygonOffset@" == "Static Decal"
polygonOffset( 1 );
#elif "@polygonOffset@" == "Weapon Impact"
polygonOffset( 2 );
#else
#error "unknown polygonOffset \"@polygonOffset@\""
#endif