Based on the art blog-spot for Substance Painter 2.5 : https://www.allegorithmic.com/blog/getting-arty-substance-painter-25-new-features
This example demonstrate how to create a plugin in Substance Painter that can be animated. In this case, the plugin animate a time variable that blend between two materials based on a specific mask.
See the youtube video for a demonstration.

Uploaded: about 2 years ago
Updated: about 2 years ago
Version: 1
File Name: AnimatedShaderBlending.zip
Size: 31.2 MB

DownloadblackDOWNLOAD



DISCUSS
about 2 years ago

@artmonkeygod
No, the goal is to create a grayscale mask. It's not an animated sequence, the animation is done by the shader.


about 2 years ago

@computerpost-ava
It doesn't work with flow-maps. The goal of this shader is to create a blending mask.


about 2 years ago

very nice, are you able to export an animated sequence?


about 2 years ago

need some help here, how to make it work with flowmaps?


about 2 years ago

@Allegorithmic, good to know, thanks.
The shown preview https://www.allegorithmic.com/sites/default/files/sp25_animated_flowmap_paint_optim.gif
in the above link isn´t available yet?


almost 2 years ago

That is so useful. Thank you.


over 1 year ago

Nice shader, but I don't understand how do I exploit it to unreal, how do I export the animated mask ?


over 1 year ago

@fcazenabe The mask is just a grayscale texture so it's easy to export it, however you need a custom material/shader to use it in Unreal.


about 1 year ago

HI, i've a question about this shader
I'm using Substance Painter Ver 20148.1.1 and I've imported successfully the AnimatedBlending shader
But when i press the animated button thim error message apper on my log console

"[Plugin - AnimatedShader] Exception ShadersError: Error while merging shader '0' parameters: Merge data error: [ERROR] Error while parsing tweaks member value: Unknown identifiers: Time (:/js/shaders.js line 178)"

How this issue con be resolved ?

Thanks


about 1 year ago

@Novaearth
It works fine on my side with Substance Painter 2018.1.1.
Loading the shader in your project is not enough, you have to apply it on your mesh as well otherwise it won't work. You can change the shader in the Shader Window.


7 months ago

Hi, i can't add an emissive channel once under this shader i wonder how could I add emissive channels? this is hellufah shader man. Thank you :D


7 months ago

@armada77
This shader relies on the Material Layering workflow, where channels are defined by the shader itself. You can't manually add channels in the UI. See : https://support.allegorithmic.com/documentation/spdoc/dynamic-material-layering-145653804.html


7 months ago

It is normal? i have an error in substance painter 2018
[ResourceShader] pbr-time-blend-simple:249 | 4(249) : error C1503: undefined variable "pbrComputeBRDF"


7 months ago

@f00bar
That's sort of normal, the shader API of Substance Painter changed with 2018.2.0 and old shaders broke. I will see if I can find some time to update it to make it compatible again.


6 months ago

@Froyok
It would be great!