ParticleEffectForUGUI icon indicating copy to clipboard operation
ParticleEffectForUGUI copied to clipboard

probelm when use this component with SoftMask

Open ltccss opened this issue 4 years ago • 3 comments

NOTE: Your issue may already be reported! Please search on the issue tracker before creating one.

Describe the bug When there is a nested Particle, only one particle will be displayed if I make it softmaskable

To Reproduce Steps to reproduce the behavior: Here is the sample project UIParticleTest.zip When you open it, then

  1. Open the SampleScene
  2. Select the Particle System node ( the parent one), and play it

Expected behavior Both 2 particle (red and white) should be displayed in the screen, and be clipped well

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Platform: windows 7
  • Unity version: 2018.4.21f1

ltccss avatar Nov 16 '20 10:11 ltccss

Yes. SoftMask does not support multiple materials...

mob-sakai avatar Nov 17 '20 00:11 mob-sakai

I've seen....

In SoftMaskable, it releases the cached material at once when receive a new material during GetModifiedMaterialo((⊙﹏⊙))o.

The true problem may be it's hard to know if the cached material should be replaced or appended?

ltccss avatar Nov 17 '20 03:11 ltccss

NOTE: It may be supported by my new Mask package which will be released soon. :)

mob-sakai avatar Sep 03 '21 00:09 mob-sakai