Search found 6 matches

by DanielThomas
Tue Dec 11, 2018 8:03 pm
Forum: Amplify Shader Editor
Topic: Output Outline vs Outline Node
Replies: 10
Views: 9913

Re: Output Outline vs Outline Node

I understand, just wanted to give the information if it pops up again. It's solved so I didn't expect to the editor changed, I was only curious if there was anything/a setting that could help me. I consider the problem solved.

I'm making a 2D game, I use 3D model for characters to save time, but ...
by DanielThomas
Tue Dec 11, 2018 2:39 pm
Forum: Amplify Shader Editor
Topic: Output Outline vs Outline Node
Replies: 10
Views: 9913

Re: Output Outline vs Outline Node

When I do that I got some sorting error on the model. With some investigation, it seems like alpha:fade in #pragma surface was added when adding alpha mode transparent to the outline node, removing that from the shader code made it work again, which is fine since I don't have semitransparent pixels ...
by DanielThomas
Tue Dec 11, 2018 12:26 pm
Forum: Amplify Shader Editor
Topic: Output Outline vs Outline Node
Replies: 10
Views: 9913

Re: Output Outline vs Outline Node

I solved it, I compared both shader codes, I just needed to add "o.Alpha = 1;" in void outlineSurf.
Just everytime I save the shader in the shader editor I need to add the line again. Anything I can add in editor to make it keep alpha 1 on outline?
by DanielThomas
Tue Dec 11, 2018 12:10 pm
Forum: Amplify Shader Editor
Topic: Output Outline vs Outline Node
Replies: 10
Views: 9913

Re: Output Outline vs Outline Node

Not sure how this works, it only masks out the channel, but the render texture image have colorinformation in it so it masks out other parts.

BUT I'm not sure why I need to do this workaround, as I mentioned the output node outline works perfect, other shaders with outline works perfect, I just don ...
by DanielThomas
Tue Dec 11, 2018 11:12 am
Forum: Amplify Shader Editor
Topic: Output Outline vs Outline Node
Replies: 10
Views: 9913

Re: Output Outline vs Outline Node

After some investigating it's not the shader that renders the image, but the image from the camera itself. When I toggle alpha in the inspector image preview it shows that the outline is black, so it's transparent. But using the output nodes Outline option doesn't make it transparent in the image ...
by DanielThomas
Mon Dec 10, 2018 5:47 pm
Forum: Amplify Shader Editor
Topic: Output Outline vs Outline Node
Replies: 10
Views: 9913

Output Outline vs Outline Node

:? Hi,
I'm using a 3D Model which a camera renders an image of that I use on a flat plane(like a sprite).
I want an outline for the 3D model. So my problem/question is:
Using the Output Outline option works great. But when I use an outline-node and connect it to the Local Vertex Offset the outline ...