Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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 https://docs.unrealengine.com/latest/INT/Resources/Showcases/Stylized/PostProcessing/index.html#toonoutline and I looked at the Stylized Showcase but when I play the scene turns black with a white outline instead of a black one.alt text What am I doing wrong?

Product Version: UE 4.7
screenshot (70).png (140.6 kB)
more ▼

asked Jun 02 '15 at 10:41 PM in Rendering

avatar image

1 5 9 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Jun 04 '15 at 06:48 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.8k 702 260 736

avatar image XanderTheFeind Jun 06 '15 at 12:51 AM

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

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

avatar image Lovecraft_K ♦♦ STAFF Jun 08 '15 at 08:26 PM

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

avatar image XanderTheFeind Jun 09 '15 at 08:11 PM

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

screenshot (75).png (377.8 kB)
avatar image Lovecraft_K ♦♦ STAFF Jun 09 '15 at 08:38 PM

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

avatar image XanderTheFeind Jun 09 '15 at 09:15 PM

Thank you so much! It worked great

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question