Skip to content

Latest commit

 

History

History
102 lines (63 loc) · 3.84 KB

README.md

File metadata and controls

102 lines (63 loc) · 3.84 KB

DissolveEffectForUGUI

NOTE: This project has been integrated into UIEffect, so we are NOT continuing development in this repository.

A dissolve effect for uGUI, without material instancing.

<< Description | Demo | Download | Usage | Development Note | Change log >>





Description

DissolveEffectForUGUI applies dissolve-effect to uGUI element (Image, RawImage, Text, etc...) WITHOUT material instancing.
This will suppress extra draw calls and improve performance.

  • Parameters
    • Dissolve factor
    • Edge width
    • Edge color
    • Edge color mode
    • Edge softness
    • Noise pattern image (shingle channel)
    • Effect player
      • Enable playing
      • Duration
      • Update mode





Demo

  • demo
    • Just 1 draw call!

WebGL Demo





Usage

  1. Download DissolveEffectForUGUI.unitypackage from Releases.
  2. Import the package into your Unity project. Select Import Package > Custom Package from the Assets menu.
  3. In Unity5.6+, enable TexCoord1 channel of canvas.
  4. Add DissolveEffectForUGUI component to UI element (Image, RawImage, Text, etc...) from Add Component in inspector.
  5. Control effect parameters in inspector.
  6. Enjoy!
Requirement
  • Unity 5.5+ (included Unity 2017.x)
  • No other SDK are required





Development Note

What's doing?





License

Author

mob-sakai

See Also