mob-sakai / ParticleEffectForUGUI

Render particle effect in UnityUI(uGUI). Maskable, sortable, and no extra Camera/RenderTexture/Canvas.
MIT License
4.41k stars 625 forks source link

Sweep failure #273

Closed HFX-93 closed 1 year ago

HFX-93 commented 1 year ago

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

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment (please complete the following)

Additional context

Please add any other context about the issue here. It will help us resolve the issue.

HFX-93 commented 1 year ago

@mob-sakai Help me

HFX-93 commented 1 year ago

@mob-sakai After I went from version 3.3.5 to 4.2.1, the sweep effect stopped working and turned into a white block

HFX-93 commented 1 year ago

It has been solved because the _MainTex attribute cannot be used in the sweep shader to receive maps. I have added a new _MainTex2 attribute to receive maps