Creates a heavily customizable liquid layer on a background material based on height information.
I've included the .sbs and .sbsar files in this archive, in case you want to look under the hood, or want to change something.
Feedback is welcome.
For use in Substance Designer, but can be used as standalone in Substance Player, if you manually connect the texture inputs.
I've split the parameters into somewhat sensible groups. Here's a general overview of what the parameters do.
Liquid Layer Basic:
Let you control the properties of the liquid, eg color, color opacity, roughness.
Liquid Layer Mask:
Control the mask that controls the liquid.
Liquid Depth Blend can blend between a 100% flat mask and the actual depth mask below the liquid surface, with additional control over contrast and blur.
Liquid Layer Advanced:
Control the blurring and warping of the background color.
Additionally, you can control the opacity of the liquid normal and the blurring of the background normal under the liquid surface, for cases where you want a more viscous, slimy liquid.
Here you can control the soaking of the liquid into the background. This includes the range of the soaking, blend mode, blurring, warping for break-up, opacity, roughness and blurring of the background normals.
By default, the area beneath the liquid surface is soaked, but you can also subtract the area from the soak, if you're so inclined.
Hopefully self explanatory
If you have already created a liquid material, you can overwrite the color, roughness and normal settings with custom input maps.
By the nature of the tool, you're not limited to actual pure liquids. With these custom inputs, you could easily use this to create ice, fairy dust and all kinds of nasty goo.
If you want to see the mask data that is being generated in the tool, or perhaps reuse the masks somewhere else in your graph, you can toggle the mask outputs here.
For example, you could use the depth mask to drive an emissive map to create glowing fluids.
The Debug Depth Mask toggle is mainly there, because the mask can get heavily modified in the tool. In case you need the actual depth data below the surface, turn this on.
Uploaded: 19 days ago
Updated: 10 days ago
File Name: LiquidLayer_1.0.zip
Size: 32.3 KB
that's a great job you did :> thanx for share