25 lines
370 B
Text
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
|