Skip to content
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

Support TextMeshPro #137

Closed
mob-sakai opened this issue Oct 9, 2018 · 15 comments
Closed

Support TextMeshPro #137

mob-sakai opened this issue Oct 9, 2018 · 15 comments
Assignees
Milestone

Comments

@mob-sakai
Copy link
Owner

No description provided.

@mob-sakai
Copy link
Owner Author

It's... very... difficult...

@buihuuloc
Copy link

Do you think it's possible?

@mob-sakai
Copy link
Owner Author

Yes:)
I made a prototype dissolve effect for TextMeshPro.

@buihuuloc
Copy link

Fantastic works!
Do you think It's possible for Shiny Effect?

@mob-sakai
Copy link
Owner Author

Yes, but there are some problems with effects for TextMeshPro.

  • It is difficult to support all TextMeshPro shaders. There are too many shaders.
  • TextMeshPro does not support IMeshModifier/IMaterialModifier interfaces.
  • You need to enable uv2/uv3 channels of Canvas. Therefore, Unity 5.5 is not supported.

I think that a big refactor will be needed to maintain compatibility with existing features.
First of all, as an experimental feature, I will develop it in another repository...
Please follow me and receive notification of the new repository.

@buihuuloc
Copy link

Can we have a special repo for supporting Unity 2018.2+?
I think Unity 5.5 is quite old. You should consider updating the minimum Unity version?

@buihuuloc
Copy link

I would rather choose for supporting from Unity 2018.
Is there any reason for keeping support Unity 5.5?

@mob-sakai
Copy link
Owner Author

UIEffect supports Unity 5.5 because the APIs related to UIEffect not have been updated.
For now, it seems to work well on Unity 5.5+, Unity 2017.x, Unity 2018.x, Unity 2019.x. (Please tell me if there are bugs!)

However, As you say, Unity 5.5 is quite old and few users are using it.
And now, TMPro has been made free and standardized, so I think that updating the minimum unity version is necessary.

Currently, the APIs I need are as follows:

  • Canvas.additionalShaderChannels (5.6+)

@mob-sakai
Copy link
Owner Author

I am developing a mesh effect for TMPro.
It will also support UIShiny :)
https://github.com/mob-sakai/MeshEffectForTextMeshPro

@buihuuloc
Copy link

It's awesome.

@mob-sakai
Copy link
Owner Author

[WIP]
I will release it experimentally.

@buihuuloc
Copy link

buihuuloc commented Dec 11, 2018

Can't wait to see it in live!!!!

@mob-sakai
Copy link
Owner Author

Experimental release:
https://github.com/mob-sakai/ShinyEffectForTMPro

@mob-sakai mob-sakai pinned this issue Feb 11, 2019
@mob-sakai
Copy link
Owner Author

In progress. (60%)
I'm sorry to delay release.
I do not have enough hours in my day...

Wish there were more hours in a day!

@mob-sakai
Copy link
Owner Author

In progress. (90%)

Technical problems were almost solved!
I will release it soon.
I must update a usage document...

@mob-sakai mob-sakai added this to the v3.1.0 milestone Mar 10, 2019
@mob-sakai mob-sakai self-assigned this Mar 10, 2019
@mob-sakai mob-sakai unpinned this issue Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants