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: over 1 year ago
Updated: over 1 year ago
Version: 1
File Name: AnimatedShaderBlending.zip
Size: 31.2 MB

DownloadblackDOWNLOAD



DISCUSS
over 1 year ago

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


over 1 year ago

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


over 1 year ago

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


over 1 year ago

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


over 1 year 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?


over 1 year ago

That is so useful. Thank you.


about 1 year ago

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


about 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.


6 months 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


6 months 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.


29 days 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


27 days 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


11 days 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"


11 days 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.


10 days ago

@Froyok
It would be great!