Giter VIP home page Giter VIP logo

shinyeffectfortmpro's Introduction

ShinyEffectForTMPro

NOTE: This project is experimental.

NOTE: This project is a derivative project of MeshEffectForTextMeshPro.

NOTE: This project will be integrated to UIEffect.

ShinyEffectForTMPro provide shiny effect component for TextMeshPro in Unity.

PRs Welcome

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

What's new? See changelog

Do you want to receive notifications for new releases? Watch this repo





Description

ShinyEffectForTMPro provide shiny effect component (from UIEffect) for TextMeshPro in Unity.

It works well not only for standard Graphic components (Image, RawImage, Text, etc.) but also for TextMeshPro and TextMeshProUGUI.

Features

  • Rotation, width, softness, brightness and gloss of shiny effect.
  • Effect area: RectTransform, Fit, Split by character.
  • Support <font> and <sprite> tags.
  • You can control effect properties from script, AnimationClip and inspector.
  • Works well not only for standard Graphic components (Image, RawImage, Text, etc.) but also for TextMeshPro and TextMeshProUGUI.
  • No useless allocation.
  • Easy to set up.





Demo

WebGL Demo





Usage

  1. Download ShinyEffectForTMPro.unitypackage from Releases.
  2. Import the package into your Unity project. Click Import Package > Custom Package from the Assets menu.
  3. Enable TexCoord1 and TexCoord2 channels of canvas.

  4. Add UIShiny component to TextMeshPro from Add Component in inspector or Component > MeshEffectForTMPro > UIShiny menu.
  5. Set shiny material preset to the TextMeshPro component. Press the Fix button to generate or set shiny material preset.
  6. (Option) Set shiny sprite asset to the TextMeshPro component. Press the Fix button to generate or set shiny sprite asset.
  7. Adjust the parameters of the effect as you like, in inspector.
  8. Enjoy!
Requirement
  • Unity 5.6+ (including Unity 2019.x)
  • TextMeshPro v1.0.0+





Development Note





License

  • MIT
  • © UTJ/UCL

Author

mob-sakai

See Also

shinyeffectfortmpro's People

Contributors

mob-sakai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shinyeffectfortmpro's Issues

ShinyUI TextMeshPro shaders are failing to compile.

ShinyUI TextMeshPro shaders are failing to compile.

Clicking 'Fix' when adding a UIEffect creates the UIShiny material, but the material shader renders pink.

Windows:
Unity 2018.4.16f

  • UIEffects 3.2.0

image

The list obscures it here but these shaders are in the 'Failed to compile' section of the dropdown

image

I realize this repo is probably dead, but this library is so useful so I thought I'd ask!

v1.0.0 Release Summary

ShinyEffectForTMPro provide shiny effect component (from UIEffect) for TextMeshPro in Unity.

It works well not only for standard Graphic components (Image, RawImage, Text, etc.) but also for TextMeshPro and TextMeshProUGUI.

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.