Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asus4/unity-neumorphism-ui
Neumophism UI for Unity uGUI
https://github.com/asus4/unity-neumorphism-ui
neumorphism shader ugui unity
Last synced: 3 months ago
JSON representation
Neumophism UI for Unity uGUI
- Host: GitHub
- URL: https://github.com/asus4/unity-neumorphism-ui
- Owner: asus4
- License: mit
- Created: 2020-08-06T10:20:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-30T13:33:27.000Z (about 1 year ago)
- Last Synced: 2024-05-15T13:22:48.650Z (6 months ago)
- Topics: neumorphism, shader, ugui, unity
- Language: C#
- Homepage:
- Size: 311 KB
- Stars: 114
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Neumorphism UI for Unity uGUI
Neumorphism UI is an experimental shader for Unity uGUI. Even though texture size is very small (e.g 64x64), it enables us to draw very smooth and scalable images using the MSDF(Multi-channel signed distance field) technique. This is used in [AnyFilter iOS App](https://apps.apple.com/app/id1522506966).
![gifanim](https://imgur.com/E9GctJl.gif)
## How to add your textures
Use [msdfgen](https://github.com/Chlumsky/msdfgen) to generate texture from SVG.
A sample command is included in `Tools/convert.sh` with a msdfgen macOS binary (Also, you can find the binary for Windows in the [msdfgen's GitHub](https://github.com/Chlumsky/msdfgen/releases)).## References
- [Neomorphism Guide 2.0 Figma file](https://dribbble.com/shots/10084381-Neomorphism-Guide-2-0-Original)
- [mob-sakai/UIEffect](https://github.com/mob-sakai/UIEffect)