PR #1552 : Toon Shading Model

Feature Request: PR #1552 : Toon Shading Model

PR by: Arnage

[SIZE=2]Dev. thread: Thread link[/SIZE]


To Epic staff,

I was wondering if there is any news or any info really on Epic’s plans/views/status concerning’s toon shading model PR ?

Arnage’s shading model gained some extra attention recently on Epic’s Livestream HERE
Unfortunately, it was misunderstood and presented as a plugin and not as a pull request.

Any info would be greatly appreciated.


P.S

To Community,

If you’d like to help’s PR get attention, please leave a comment in the PR’s comment section and/or here

was brought up in the Community Stream a week or two ago, it’s getting a lot of attention already but it takes a very long time for Pull Requests to go through, as engine staff have to validate it. It’s a lot easier to validate code you’ve written yourself :slight_smile:

I’m sure it will make it in. However, I’m fairly certain that made a plug-in version of if you don’t want to download engine source code and merge PR yourself.

It would be nice if Epic adds ink shader that is mobile friendly (not post process) along the way.

I’m fairly sure that Arnages one linked above is not Post Process, it’s a per-material shading model so should work just fine on Mobile. I imagine that’s primarily what it’s targeting anyway.

I don’t see any ink outlines in that thread, except on the video from the Japanese developer.

Hey! Great to see all the enthusiasm for the pull. It normally takes a little bit for us to fully pull something (gotta make sure to test it first), but I have a good feeling about one :wink:

Expressing my enthusiasm for topic :wink:

Oh Ink Shader, you mean edge detection? Unfortunately edge detection relies on screen-space post processing, so that’s the only way to achieve it. Never experimented with anything else personally.

Nope. There is no plugin version and no plans for a plugin version due quite a few complexities with Epic’s implementation of shading models.

For those who want to use it now though; Nate did provide 4.9 and 4.10 versions for users to use the shading model on stable releases.
*( in’s thread I linked at the top)

If you’re looking for sobel/outlines/edge detection shading model does not do that.
The Japanese developer is using the shading model with their own implementation(they provided links) of sobel/edge dection for the outlines.

Yeah, unfortunately for now all edge detection in unreal is solely through post-process.

Hey ! glad for your attention on :cool:

Please pull! ;_;

Thanks for the enthusiasm!

You could use the old school inverted geometry method. should work just fine on mobile. Here’s a quick visual example to explain how it works:

@Arnage: I am aware of technique :slight_smile: However, a shader should be doing it (copy, flip normals, offset, color with whatever color you need, etc.). It doesn’t have much overhead, but doing it via shader allows more freedom - you can tweak “thickness” of the outline on runtime, add noise to it to make ink thickness vary, etc. There is such ink shader for Unity ( Unity Asset Store - The Best Assets for Game Making ) - really flexible and yields high performance on mobile platforms.

I would also like to express my interest in seeing addition to the engine!

Me too. :slight_smile:

I am also giving my support to being added to the engine. i think solution is very elegant and would be a great addition to Unreal.

Another vote for the integration.

I want to also throw my card into the hat for merging to master.

+1 Vote for integration :slight_smile:

agree could bee a great feature

Necro’ing like a baws.
tried out ages ago and it is amazing, would be great to see it in the official engine so I don’t have to mess around with source code.