Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

TextMesh Pro Double Pass SDF shader only works on overlay canvas?

Discussion in 'UGUI & TextMesh Pro' started by chaugofaria, Nov 2, 2023.

  1. chaugofaria


    Nov 9, 2022
    I want to use a large outline effect on my font, and I'm using the double pass SDF shader to avoid character overlapping. But it seems to work only on canvases set to screen space overlay.

    Couldn't make the shader work properly in any other context: world/camera space canvas text or mesh renderer text (not UI). Either the face pass is not being rendered or it's being overlapped by the outline pass. The same happens in scene view, but that this a minor problem, as long as it works in runtime.

    Anyone else having problem with that? Any workaround or config I should look for?


    Attached Files:

    Last edited: Nov 2, 2023