Goals

Create a reusable shader for procedurally drawing VFX for a slash/circular strike.

How it works

Maps a texture to rotate around in a circle. The width of the shape from start to end is the curve width, modulated by width mod Start/End range from 0 - 1, and define where the start and end of the shape should be along the circle. Scroll amount rotates the circle's start/end ranges UVmod multiplies the UV after it has been converted to -1 to 1, and can be used to stretch the image. Pixellate scale should be such that it matches some factor of the scale of the vfx, such that it matches the pixel ratio of the game. This will depend on the size of the base texture. Using MissingTexture.png, this is 2x of the scale. For instance, setting the scale to 10,10, means pixellate scale should be 20,20.

Texture should be a black/white map value map, and gradient maps it to colors.

With what script it communicates

Material of canvasitems.