-
-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TMP reveal effect per char/line #192
Comments
Hello again, I was looking at #86 and maybe it would be possible to add a new Effect Area (like line or word) and a new Advanced Option below Effect Area (simultaneous and continuous) so every character could appear/disappear at the same time or after each other. Having a UI dissolve for revealing each character continuously would be great combined with dynamic duration to create astonishing TMP effects. @mob-sakai Let me know if I could help to achieve it. |
Thank you for the feature request! I came up with two solutions: Solution 1: Shader controls the typewriter.Give start time and duration as uv3, and calculate in shader. Solution2: Assign a parameter texture to each characterThe script controls the effect. I think solution 2 is preferred. :) |
Hi @mob-sakai thank you for your reply.
Maybe something similar could be implemented in the shader. |
Ah I see. |
Hello, I wonder if it's possible to get an advanced reveal effect with TMP. Right now I'm using a reveal effect using the alpha value of the chars vertex colors, allowing a typewriter or fade effect per char.
I would like something like a dissolving effect per char, or at least per line. To make it per line I thought of dividing each line of text in a different TMPText and applying directly the dissolve effect to each one, but that's not optimal for dynamic text and it won't work for individual chars.
Congratulations for this wonderful component. 事前にどうもありがとうございました。
The text was updated successfully, but these errors were encountered: