Coder Social home page Coder Social logo

ly774508966 / dissolveeffectforugui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mob-sakai/dissolveeffectforugui

0.0 0.0 0.0 5.94 MB

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

Home Page: https://github.com/mob-sakai/DissolveEffectForUGUI

License: MIT License

C# 70.45% ShaderLab 13.63% Shell 1.62% HLSL 14.31%

dissolveeffectforugui's Introduction

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

dissolveeffectforugui's People

Contributors

mob-sakai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.