Search Unity

Outline shader not working with procedural mesh?

Discussion in 'Scripting' started by Mltdwn, May 18, 2017.

  1. Mltdwn

    Mltdwn

    Joined:
    May 18, 2017
    Posts:
    1
    So my code procedurally creates a mesh, applies a transparancy shader to it, clones the object, oversizes the clone by an amount and then applies an outline shader on it. However neither really works. I can throw the default material on it and both render fine. If I toss the outline shader and code on say a sphere it works fine as well. Anyone know if there is something I have to do to tell it to re-render or a problem with procedural meshes? I've attached the source project if anyone wants to look at it.
     

    Attached Files:

  2. kunal2619

    kunal2619

    Joined:
    Jul 29, 2012
    Posts:
    4
    Hey, were you able to work it out, I am facing the same issue as of now.