What did I do wrong when making the Stylized Shader?

Hello! I am trying to make the stylized/Cel shading material for my level. I followed the guide shown here Engine Feature Examples for Unreal Engine | Unreal Engine 5.1 Documentation
and I looked at the Stylized Showcase but when I play the scene turns black with a white outline instead of a black one.

What am I doing wrong?

Hi Xander -

It looks like your Post Process is only rendering the Mask used to LERP between the ‘SceneTexture:PostProcess0’ and the color of you Outline.

If you can post a screenshot of your Blendable Material I will tell you exactly where and what you might need to add, but hopefully this will give you a start.

Thank You

Eric Ketchum

Hello! Thanks so much for replying. Here is the material.

I think the images in the documentation didn’t show how the wires connected up to the final material node. Thanks again.

Hi -

Okay add a SceneTexture:PostProcess0 node to your graph near the final Clamp before the Material Input into Emissive Color, then add the Postprocess0 node to the Results of the Clamp (Clamp’s output pin) and then the output pin from your add plug into the Emissive Color input.

That should get what you are looking for, if not please feel free to comment back here.

Thank You

Eric Ketchum

Okay! It’s great except for the fact that the outlines are black instead of white.

Instead of the Add use a LERP (LInear Interpolation) Node and Place the PostProcess0 into A and a Vector 4(Constant 4) of the Color you want into B with the Clamp used as the Alpha input. The output from the LERP would be plugged into Emissive Color.

Sorry I should have caught that the first time through -

Eric Ketchum

Thank you so much! It worked great