Tyrbo Make your game

Free effect · CC0

Weapon Trail

By Tyrbo · 1 effect

Weapon Trail, effect by TyrboWeapon Trail, effect by Tyrbo

About it

A sword trail for three.js: the ribbon of light a blade leaves as it swings, white hot along the edge with a soft glow past it, frayed on its inner side and tapering as it fades. It curves through the blade's path between frames so a fast cut stays round, and each of the steel, fire and arcane presets is one draw call.

What's inside

  • steel trail
  • fire trail
  • arcane trail

Use it in your game

Each effect is an ES module for three.js. Import it, make it with your scene, and call its update(dt) once a frame; dispose() frees it. Open demo.html to see it run and try its options. It needs only three (npm install three, or the import map in the demo).

The license

CC0 1.0 puts it in the public domain: use it in any game, free or paid, change it, and ship it without asking anyone or crediting anyone. A credit is still a kind thing to give: "Weapon Trail by Tyrbo, CC0".

More effects

See all

Make a game for your phone with Tyrbo

Make your game

Sign in to get the plan and its concept art. Both are free.