Search Unity

Distance Field Shader breaking on Mobile

Discussion in 'Unity UI & TextMesh Pro' started by CaelumNoctis, Mar 14, 2019 at 12:31 PM.

  1. CaelumNoctis

    CaelumNoctis

    Joined:
    Nov 3, 2016
    Posts:
    19
    Text.png Shader.png

    Anyone have an idea as to why the normal Distance Field shader might not work on some mobile devices? So far we've only seen it on one device (a UMIDIGI A3 Pro). I've attached images of our shader settings and the expected vs actual results on said device.

    I'm aware that there are mobile versions of the TMPro shaders but none of them seem to support the use of a texture, which is why I used the normal one instead.
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    2,269
    See if disabling the Lighting group results in the text rendering the same between devices. Right now, we are just trying to isolate where / what might be causing this rendering behavior.

    If the rendering is still incorrect, then disable Underlay and then Outline.

    Let me know what the results of those tests produce.
     
  3. CaelumNoctis

    CaelumNoctis

    Joined:
    Nov 3, 2016
    Posts:
    19
    Alrighty. Thanks for the response. Sadly, we haven't reproduced this on any of our own test devices, and so for only 1 user has reported the issue so it's not that apparent.