Directional Dissolve Shader
Creating and configuring the Directional Dissolve Shader works exactly the same as the Random Noise Dissolve Shader, it just has two additional properties for the configuration. To create this shader select the “Shader Graphs/SF_DissolveDirectional” shader for your material.
As already mentioned, this graph has the same properties as the random dissolve shader. On how to configure those, please refer to the previous section “Configure Random Noise Dissolve Shader”
Specify dissolve direction
For directional dissolving we now have an additional “Direction” Vector3 property, where you can specify the x,y and z direction for the dissolving.
In the following image you can see 3 examples of directional dissolving:
Left: Vector3(0,1,0)
Middle: Vector3(1,1,1)
Right: Vector3(1,0,1)
You can also use negative values for the direction.
Dissolve Smoothness
The smoothness property describes how smooth the dissolving process will be.
For a transparent shader configuration on the left we have a smoothness value of 0.7 compared to 0.2 on the right. Note how the object slowly dissolves even before the dissolve edge reaches the corresponding part!
For an opaque shader configuration the smoothness behaves a little bit differently. Instead of slowly dissolving the object, the part just gets a bit darker:
Using the same values as before ( left = 0.7, right =0.2) the next example shows how the smoothness behaves on an opaque shader. The left one has a transition from a darker color to a lighter color.
Last updated