Page 1 of 1

LWRP and outline node

PostPosted: Fri Sep 21, 2018 6:48 pm
by Eugene
Hello guys,

I am doing shader with an outline and I assume that I have to use Outline Node for this purpose.
The documentation says that I should connect it to Local Vertex Output, but actually, I have only Vertex Output (if this important).

Anyway, I tried ) to connect it to Vertex Offset and got "NullReferenceException: Object reference not set to an instance of an object" that brings me to ContainerGraph.CurrentStandardSurface.OutlineHelper.ZWriteMode = m_zWriteMode;s string of OutlineNode.cs

What I am doing wrong?

Sorry if this is a stupid question, but I can find any tutorials with outline and LWRP

Re: LWRP and outline node

PostPosted: Sat Sep 22, 2018 4:38 pm
by Ricardo Teixeira
Eugene wrote:Hello guys,

I am doing shader with an outline and I assume that I have to use Outline Node for this purpose.
The documentation says that I should connect it to Local Vertex Output, but actually, I have only Vertex Output (if this important).

Anyway, I tried ) to connect it to Vertex Offset and got "NullReferenceException: Object reference not set to an instance of an object" that brings me to ContainerGraph.CurrentStandardSurface.OutlineHelper.ZWriteMode = m_zWriteMode;s string of OutlineNode.cs

What I am doing wrong?

Sorry if this is a stupid question, but I can find any tutorials with outline and LWRP


Hello,

Our apologies but the Outline effect is not compatible with LWRP,

Do stay tuned, we'll definitely look into adding something like that in the future, assuming it's possible.

Thanks!

Re: LWRP and outline node

PostPosted: Sat Sep 22, 2018 9:21 pm
by Eugene
Got it. It's sad.

Is this because LWRP assumes only on pass?

Re: LWRP and outline node

PostPosted: Mon Sep 24, 2018 8:42 am
by Amplify_Borba
Our outline implementation was designed specifically for surface shaders and, since it does require an additional pass, it would likely require us to rewrite any templates, such as the LWRP one, so that they could support this technique.

This is assuming that they could support it in the first place, as we haven't had the opportunity to look into it just yet!

Re: LWRP and outline node

PostPosted: Tue Sep 25, 2018 4:18 am
by Eugene
Thank for the detailed answer.

Re: LWRP and outline node

PostPosted: Tue Sep 25, 2018 8:01 am
by Amplify_Borba
No problem, please let us know if you have any further questions, we'll be happy to help!