Documentation Home

Materials: Material Types: SC2 Displacement

The SC2 Displacement Material is used to create shockwave, heatwave, glass, shield, and other distortion effects. Displacement materials are often used to emphasize short, powerful burst effects in StarCraft II, like weapon impacts. The displacement effect is artistic in nature, and does not follow a direct physical model.

Displacement

  1. Priority defines the sorting relationship between this material and other transparent materials in the model file. Within a given model, materials are drawn in order from highest priority value to lowest. Sorting for materials of equal priority is undefined. Priorities have no effect across multiple models.

  2. Strength (Value) amplifies or reduces the effect of the distortion. Values of greater magnitude result in more extreme distortion. Negative values are valid and reverse the effect.

  3. Normal map perturbs the distortion effect per-pixel by using a tangent-space normal map. An SC2 Bitmap must be used.

  4. Strength (Map) masks out the intensity of the distortion effect. This should be an SC2 Bitmap set to use only a single channel: R, G, B, or A.