NekoToonDocs Download

Advanced

Dissolve

Dissolve cuts a material away progressively, with an optional glowing edge. Animate the Border value and the mesh burns away, materializes, or is wiped along a direction. It is a popular way to show and hide outfits or effects on VRChat avatars.

Dissolve does not work in the Opaque rendering mode; the inspector shows If you want to use Dissolve, you need to change the "Rendering Mode" to Cutout or Transparent. instead of the settings. Switch the material to Cutout (hard edge) or a Transparent mode first. See Rendering Modes.

The cut itself is always hard: a pixel is either kept or removed. What makes the edge look soft is the glow band (Blur and Color) around it, which is added as emission.

Dissolve#

Dissolve#

_DissolveParams.x None / Alpha / UV / Position · default None

Chooses what decides which parts disappear first:

  • None: off.
  • Alpha: a grayscale Mask texture. Dark areas vanish first, bright areas last. Gives full artistic control, for example a burn pattern.
  • UV: the distance from a point, or the position along a direction, in UV0 space. Good for wipes that follow the texture layout.
  • Position: the distance from a point, or the position along a direction, in the mesh's local (object) space. Good for effects that sweep through the avatar in 3D, such as top-to-bottom.

Shape#

_DissolveParams.y Point / Line · default Point

Shown for UV and Position. Point removes everything within Border distance of the Position, so a hole grows from that point. Line removes everything on one side of a plane (in UV: a line) whose direction is set by Vector, so the cut sweeps across the mesh.

Border#

_DissolveParams.z -1 – 2 in Alpha mode, any value otherwise · default 0.5

The dissolve progress, and the value you normally animate. In Alpha mode, pixels whose mask value is below Border are removed: −1 shows everything (even with noise), 2 hides everything. In Point mode it is the radius of the hole; in Line mode it is how far along the direction the cut has moved. In Position mode the units are the mesh's local units, so check the mesh's scale.

Blur#

_DissolveParams.w 0 – 1 in Alpha mode, any value otherwise · default 0.1

The width of the glowing band along the edge, in the same units as Border. 0 means no glow. Despite the name it does not soften the cut itself.

Mask#

_DissolveMask texture · default white

Shown for Alpha. The dissolve pattern, read from the red channel on UV0 (tooltip Blend (R)). Expand the row for tiling and offset. Noise textures, gradients and hand-painted burn patterns all work; the transition order follows the brightness.

Position / Vector#

_DissolvePos vector · default (0, 0, 0, 0)

Shown for UV and Position. With Shape Point the field is called Position and sets the center point (X, Y in UV space, or X, Y, Z in local space). With Shape Line it is called Vector and sets the direction the cut moves in; only the direction matters, its length is ignored. Do not leave the vector at zero in Line mode, it has no direction.

Noise#

_DissolveNoiseMask texture · default gray _DissolveNoiseStrength float · default 0.1 _DissolveNoiseMask_ScrollRotate scroll X, Y · default 0, 0

Breaks up the edge with a noise texture (red channel, tooltip Noise (R)) so it looks ragged instead of perfectly smooth. Mid gray adds nothing; brighter and darker areas push the edge back or forward by up to half the strength. Expand the row for tiling, offset and a scroll speed that makes the edge flicker like flames. It works in all modes.

Color#

_DissolveColor HDR color · default white (1, 1, 1, 1)

The color of the glowing band, added as emission so it glows in the dark. HDR values above 1 make it brighter (and bloom in worlds with post-processing). Set it to black for a plain cut without glow.

To make an outfit vanish in VRChat, animate _DissolveParams (the Border component) in an animation clip and play it from your avatar's animator, for example from a menu toggle. For a bottom-to-top effect use Position mode, Shape Line and Vector (0, 1, 0): everything below the height given by Border is removed, so animate Border from below the feet to above the head. With Vector (0, -1, 0) the effect runs top to bottom and Border is the negative of the height. Positions are in the mesh's local space, so check its scale and which local axis points up.

The Main Color 2nd and 3rd layers have their own dissolve settings that work the same way but only hide that layer. Dissolve can also be driven per mesh part by ID Mask. When you build an avatar, NekoToon keeps the dissolve code only if a material's Dissolve mode is not None or an animation on the avatar animates _DissolveParams.

NekoToon is a fork of lilToon by lilxyzw (MIT License). Fur styles are based on Xiexe's Unity Shaders (MIT). NekoToon and its documentation are made by Mora for 404NyanFound.