Shader not working for all materials

Hello Everyone,
I just started diving into unity shader and i came across an issue, i created a dissolve shader with unity shader graph, it works but it doesn’t fully work on the designated material on my 3d model.

  • if its a model with one material it works perfectly.
  • if the material on the models increases it starts exempting some and most times , exempt almost all the other material or part of the materials.

I would attach a video of my usecase and the problem.This is the youtube link to the use-case

Hi @Moore-Rex,

can you share a bit more?
Like screenshots of your shader graph, mesh renderer inspector, etc…

@FredMoreau thanks for the swift response, i attached images of my shader graph, i hope this adds more light to my issue

My guess is that there are discontinuities in UVs across the different material partitions, and since you’re using UV0 as coordinates for the Noise, it might be that.

Can you share details on the model?


the first image from the left is information on the material while the second image from the left is information on the model .
its a model with a single texture and 3 materials.

It’s hard to tell anything from that.
You have a SkinnedMeshRenderer with 3 material slots, each with a different material, all based on the same shader graph, correct?

I’m trying to understand what you mean by “exempting” some materials or part of them.

Hello Fred
Thanks for trying to help out.
what i mean by “exempting” is that the material doesn’t fully dissolve with the dissolve shader grpah effect.
its just one material with one texture(Among us), the two other materials are blanks.
the video sample i sent has only the front part of the model dissolving

I don’t know how you drive the material values, but if all materials on the model are based on the shader graph and each have the threshold or dissolve value set to the min or max, this must work.

i actually found out the problem was that i had a dissolver script that i created to cue in the dissolve shader effect when i click on the button.
the problem was that i didn’t add the script to the remaining 2 materials to also cue in their shader effect for them.
@FredMoreau thnaks for helping out