Page 1 of 1

Outline + Stencil Buffer

PostPosted: Tue Jul 17, 2018 6:30 pm
by teidenzero
Hello everyone,
I tried unsuccessfully for the last couple of days to replicate this technique by Lindsey Reid
https://lindseyreidblog.wordpress.com/2017/12/19/cel-shader-with-outline-in-unity/.

I'm not really interested in the cel-shader itself but in the outline.
I know that there is the outline node that can be used to obtain the same effect but in her tutorial, Lindsey uses the stencil buffer to draw the outline behind the original pass.

Is there a way to obtain this same result in the shader graph?

Re: Outline + Stencil Buffer

PostPosted: Wed Jul 18, 2018 10:26 am
by Amplify_Borba
Hello!

You should be able to create a similar custom shader through making use of our Shader Templates, and we even provide a Multi-pass outline example that can help you get started!

Please let me know if this helps, thanks!