Fade-in effect inside material leaving holes?

isikdev
Tue, 15 Mar 2022 16:38:23 +0000
Asset Creation

Hi. I’m trying to make a fade in effect for when creatures in my game spawn. However, after applying the dissolve texture, I get holes in the final result when fading in. I’m super new to materials and I could not understand why this is happening. Could someone point me to the right direction please?

Example of whats happening:

https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/9/5f9262a594b7536b1f3d4118e111c9e86b53e2d3.mp4

This happens not to all my meshes but specific ones, here is how I have the material set up:

And the fade texture I’m using:

I believe it has something to do with the part in my second If statement where I set a black 3vector to A == B, because if I change that to another color it fades in fully, BUT I need it to be black so I can fade into original base color, if I could say clearly. Thanks for any help!

2 posts - 1 participant