x


Is there a shader to only add an outline?

The toon shaders have outlines, but also change the shading of the object. I'd like to show an outline without affecting the rest of the shading. Also if possible, only show outline around the perimeter of the object and not on edges in the middle.

I have no idea how to program shaders, so if anyone knows how to do this or can point me in the direction of a shader that already exists, I would appreciate it greatly. Thanks!

more ▼

asked Apr 23 '11 at 03:24 PM

Gillissie gravatar image

Gillissie
343 36 39 48

Do you want just an outline or an outline with a shading model inside such as a outline diffuse

Apr 23 '11 at 05:18 PM Peter G

Peter, I'm not sure what you mean by those options in comparison to each other. I just want a model to look normal (such as the standard diffuse or diffuse bump shader, except with an outline around the whole thing. You see this kind of effect in a lot of games, such as when the mouse is pointing at the object being outlined.

Apr 25 '11 at 07:59 PM Gillissie
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Find and download the Strumpy Shader Editor in the Asset Store (it's free!) and you can probably get exactly what you want to.

more ▼

answered Apr 23 '11 at 05:10 PM

Muzz 1 gravatar image

Muzz 1
548 52 59 71

(comments are locked)
10|3000 characters needed characters left
more ▼

answered Apr 23 '11 at 05:11 PM

Teare gravatar image

Teare
56 1 1 5

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1655
x813
x44
x43
x37

asked: Apr 23 '11 at 03:24 PM

Seen: 9860 times

Last Updated: Apr 23 '11 at 03:24 PM