I'm trying to get a "dissolve-away" effect on a playing card prefab that is composed of multiple objects with Image masks and transparency involved. I've tried a few ways to get this working, but none yield the end result I'm looking for
- Dissolve shader: shader graph shaders seemingly don't support layer masking. Tried a quick guide to tweak to include Stencil settings, but this either didn't work with masking or stopped showing the dissolve effect. Also the multiple objects don't seem to apply the effect consistently, but it may just look that way because of the other issue.
- Add shader material to image mask: mask component doesn't seem to work with custom image materials
- Output dissolve effect onto render texture and use as mask: can't find a way to use a render texture as a mask
Only solution I've got working so far is manually creating sprite slides for the dissolve effect, and updating the mask image to a different sprite every few slides. But I don't think that'll be scaleable when I want to make it look decent, rather than just a placeholder.
Is there a better way to apply this?
