Search Unity

Shaded Wireframe vertices position

Discussion in 'Shaders' started by eyeofhorus, Jun 7, 2018.

  1. eyeofhorus

    eyeofhorus

    Joined:
    Oct 10, 2013
    Posts:
    10
    I am playing around with the vert pass in a UI Text shader.

    with OUT.worldPosition = v.vertex + offset*10;

    In the scene view, the text are offset according to my noise texture, but the vertices positions are not following the text, is this intended in unity2017?


    Screen Shot 2018-06-07 at 9.13.11 PM.png
     
  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    This is normal behavior. Unity uses it's own shader to show you the mesh for objects you select, and this shader does not offset vertex position like your shader does.
     
    eyeofhorus likes this.