cod2-sdk/deffiles/materials/sunpartitionclippable.template

8 lines
209 B
Plaintext

#if "@blendFunc@" == "Replace" || "@polygonOffset@" != "Weapon Impact"
#define SUNPARTITION_CLIPPABLE 1
#else
#define SUNPARTITION_CLIPPABLE 0
#endif
sunPartitionClippable( SUNPARTITION_CLIPPABLE );