I’m working on rendering the UI on top of everything, and I have a scroll rect and inside it a viewport with a rectmask2d and inside that the content and the scrollbar. Whatever I add in the content from images (with an always on top shader) render appropriately above everything and inside the viewport and is masked outside. If I add a text with distance field overlay, it works fine for the first text and is masked outside the viewport, however, if I duplicate it, it doesn’t work and doesn’t take the viewport mask in consideration. If I create them manually 1 by 1 during play mode, it works so but i do it during edit mode and then play it, it doesn’t work.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| TextmeshPro showing outside of scroll rect in Unity 2019.1 | 3 | 815 | January 10, 2020 | |
| Issue with text when viewing from distance | 2 | 2947 | May 1, 2017 | |
| Masking 3D text objects | 6 | 5717 | March 15, 2012 | |
| TextMeshPro text still visible when using nested RectMask2D. | 9 | 3623 | July 27, 2018 | |
| Weird UI artifacts when using mask | 2 | 2229 | September 7, 2015 |