Search Unity

TextMesh Pro TextMesh Pro - projector shader

Discussion in 'UGUI & TextMesh Pro' started by ajaxlex, Mar 16, 2018.

  1. ajaxlex

    ajaxlex

    Joined:
    Jul 15, 2016
    Posts:
    38
    Hey all,
    I have an application where I would like to project the text onto a curved surface. Is there a projector shader variant for TMP, or plans for one? I am considering doing the research and modding the existing shaders, but would appreciate any tips for things to keep in mind while modding.
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    There is none available.

    Thus far for mapping text onto a curved surface, most users have resorted to modifying the vertex attributes to curve the text geometry. See the Example 23 Animating Vertex Attributes and some of the example scripts like WarpTextExample.cs included with TMP.
     
    ajaxlex likes this.