Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Outline glitching / Text redraw every time the camera moves

A topic by Kazzter created 58 days ago Views: 58 Replies: 5
Viewing posts 1 to 2

Hi, I'm having the two following issues with SuperTextMesh:

1. I have a dialogue box using YarnSpinner and SuperTextMesh together that stays in the same place in the world when the camera moves. However, when I move the camera every so slightly, and the dialogue box moves, the text is redrawn. The same thing doesn't happen when I use TextMeshPro, however.

Is there a way to not have the text be redrawn every time the camera moves? Here's some footage of the issue:



2. When I use outlines in the UI, it has a bunch of strange glitches all around it. It doesn't happen every time the text is drawn, but it is present on both editor and build.



Here's how the text is configured:



Developer

1. Have you updated to the latest version? I changed some things related to the text mesh automatically redrawing when the RectTransform is changed in a recent version, so I'm wondering if this is a side-effect... does disabling "autoRead" (under the timing foldout) produce a differet result?


2. At first it looks like just how the Universal outline shader renders when the outline width is too far, (that shader only does an 8-pass outline) but the outline being thinner than the text on that shader is something I haven't seen... What version of Unity is this? Additionally, try out the "Ultra" shader, that's where I've been putting more work into prettier outlines, recently!

1. Yes, the plugin is updated to the latest version (1.13.5). Unfortunately without autoRead enabled the text is not displayed inside the dialogue box at all.

2. The version is 2022.3.45f1, I tried changing to the Ultra shader, and it seems it does fix my issue, thanks!

Developer

1. Ah I meant, try manually calling Read() or Rebuild(true) when updating text in your code! Also I forgot to ask, is this happening only in editor, or does it still happen in a build? There's unique behaviour for changing the rectTransform in the editor that causes a rebuild... but it shouldn't happen when the game is playing, which would be the bug. I'll take a look at it soon!


2. Ok I'm glad the ultra shader works here! It's eventually going to replace the other shaders anyway, so I'll accept it as a fix.

1. Yes, those solutions were attempted, but unfortunately it did nothing to help fix the issue. It happens both on editor and in the build.

Developer

Ok, I'll be able to give it a look, soon! I've been really busy with the holidays coming up, but I just want to let you know this is on my to-do list!