Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

A better outline effect for text

Discussion in 'UGUI & TextMesh Pro' started by amit1532, Jun 19, 2015.

  1. amit1532


    Jul 19, 2010
    ive been using the outline effect and realized there was something wierd about it..
    It seems that the outline it self was behind the other letters of the word.

    Here is an example:
    Normal Outline.PNG

    Notice the outline of the last number is behind the left letter.

    So i have created a new outline script to fix this behaviour.
    It does exactly what the normal outline does except it reorders the vertices of the text.

    Here is the outcome:
    New outline.PNG

    I have also added a boolean for precise outline (It will double the shadows)
    Feel free to use it!

    The code is pasted in this link:
    protopop likes this.