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
File Name: AnimatedShaderBlending.zip
Size: 31.2 MB
No, the goal is to create a grayscale mask. It's not an animated sequence, the animation is done by the shader.
It doesn't work with flow-maps. The goal of this shader is to create a blending mask.
very nice, are you able to export an animated sequence?
need some help here, how to make it work with flowmaps?
@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?
That is so useful. Thank you.
Nice shader, but I don't understand how do I exploit it to unreal, how do I export the animated mask ?
@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.
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 ?
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.
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
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
It is normal? i have an error in substance painter 2018
[ResourceShader] pbr-time-blend-simple:249 | 4(249) : error C1503: undefined variable "pbrComputeBRDF"
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.
It would be great!