Small World Engine API Reference - v0.76.20
    Preparing search index...

    Class MotionTrailElement

    Deliberate ghost/afterimage motion-trail effect -- a stylistic sibling of TaaElement, not an anti-aliasing technique. It reuses the exact same exponential history-blend pass (no camera jitter, no motion vectors), just tuned with a higher feedback so fast-moving objects visibly smear behind themselves on purpose, instead of that smear being an unwanted side-effect of trying to do anti-aliasing.

    Hierarchy (View Summary)

    Index
    enabled: boolean = false

    Off by default -- opt-in.

    feedback: number = 0.92

    How much of the previous frame's resolved color to keep (0 = no trail, 1 = frozen). Default 0.92.

    type: MOTION_TRAIL = PostProcessingEffectType.MOTION_TRAIL

    Unique string identifier for the effect.