Search Unity

Silhouette-Outlined Diffuse not preserve the texture

Discussion in 'Shaders' started by Yaizaimg, Oct 2, 2015.

  1. Yaizaimg

    Yaizaimg

    Joined:
    Oct 2, 2015
    Posts:
    1
    Hello everybody,
    I found a great shader to select my objects when i active in this page

    http://wiki.unity3d.com/index.php/Silhouette-Outlined_Diffuse

    I've a problem with Outlined shader when I apply it to my mesh, it's not preserve the diffuse texture, it's totally black and the outlined it's broke, I've tried to change main color but it doesn't work.

    I've to change the mesh and I chose a primitive sphere and the outline it's working but the texture's not appear.

    upload_2015-10-2_10-49-12.png

    Does anybody know why?

    Thanks!
     
  2. brownboot67

    brownboot67

    Joined:
    Jan 5, 2013
    Posts:
    375
    Normals at the corners aren't aligned.
     
  3. Alestello

    Alestello

    Joined:
    May 18, 2015
    Posts:
    1
    Hey, do you solved the problem? i habe the same problem with the missing texture ! :(