DissolveEffectForUGUI icon indicating copy to clipboard operation
DissolveEffectForUGUI copied to clipboard

A dissolve effect for uGUI, without material instancing. Please star and watch this project :)

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?

  • Control effect parameters for uGUI element WITHOUT MaterialPropertyBlock
    • https://github.com/mob-sakai/UIEffect#how-to-control-effect-parameters-for-ugui-element-without-materialpropertyblock





License

Author

mob-sakai

See Also

  • GitHub page : https://github.com/mob-sakai/DissolveEffectForUGUI
  • Releases : https://github.com/mob-sakai/DissolveEffectForUGUI/releases
  • Issue tracker : https://github.com/mob-sakai/DissolveEffectForUGUI/issues
  • Current project : https://github.com/mob-sakai/DissolveEffectForUGUI/projects/1
  • Change log : https://github.com/mob-sakai/DissolveEffectForUGUI/blob/master/CHANGELOG.md