Trying Out Python Functions in Substance Designer

General / 21 July 2020

I saw there wasn't a ton of documentation on using the python functions in Substance Designer so I thought I would share my findings and what I did to create an animated texture.



The flow speed slider allows the viewer to change the speed and direction of the animation.

Technical Breakdown:

First selecting the overall graph add an input parameter of a float and set the desired default values. 


Then within the initial wave node in the bottom left add an empty function that will be used to drive the color and movement of the liquid by multiplying the previously created input parameter and time.


Creating an FX Map Node to distribute the bubble across the texture sheet.


Creating a float variable for the pattern offset and pattern rotation to be implemented in the Color/Luminosity.


Conclusion:

Overall there were a lot of challenges since there is not as much documentation compared to other areas in Substance Designer and even less documentation for implementing animated materials into Unreal Engine, which was one of my initial goals.