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

25 lines
370 B
Text

#if "@blendFunc@" == "Add"
depthWrite( Disable );
#elif "@blendFunc@" == "Blend"
depthWrite( Disable );
#elif "@blendFunc@" == "Multiply"
depthWrite( Disable );
#elif "@blendFunc@" == "Replace"
depthWrite( Enable );
#elif "@blendFunc@" == "Custom"
depthWrite( Disable );
#else
#error "unknown blendFunc \"@blendFunc@\""
#endif