Advanced Cel Shader Pack

No, I said the Skyward Sword art work, not game shots, two different things, the game itself looks like an ugly mess, along with Princess

Anyway, figured out how to stop the wind

And can I suggest something, you should put in a master control that allows you to turn the Cel-Shade outline of or off

Ah. Do you have an example?

The cel shader can disable or fade out different line types. I’d recommend reading the documentation found here: http://skull.co.nz

this is watercolor done in a non-abstract way, just look up watercolor characters/anime, they’re just done differently from abstract watercolor

another style, which I’m not too sure what it is, but I wouldn’t call it anime due to how the shadowing is working (it’s not harsh)

http://40.media.tumblr.com/9cfaa814dfe6fb8d9e97ad4d37867c33/tumblr_n57svscoXu1rptk5lo1_1280.jpg (legend of Korra)

http://quickman.gameological.com/wp-content/uploads/2013/01/130421_ttbe_bastion_featured.jpg (bastion)

Can the shadows in Unreal blend with color? that seems to be the main factor in art styles. Like the watercolor, the color bleeds though the light amount of black

You can adjust shadow opacity in UE, yes. There’s a ton of ways to do it too, check out SkyLights as well as the settings on each light.

I’m still building the feature anyway, it still needs to avoid bleeding between objects as an option and a kind of offset map that looks like paint splatter would be nice too.

Update

The latest update is now on the marketplace. To recap:

Chunky pixel shader for revisiting the 90s and earlier
Various speed and quality improvements
Mobile cel shader preview

The in-shader colour blurring is coming along. Now you can restrict blurring with a depth threshold. This can limit the colour softening to individual objects, or it can let everything bleed into everything else. It can be a subtle, anime-style effect or an outrageous messy paint effect.

This setting has been added to the Anime and new Watercolour presets.

Edit: the last examples weren’t so great, so I’ve updated them.

Watercolour shading

No cel shading

This is the reference I’ve been working to. The main thing lacking at the moment is texture. It’s there, but it’s only affecting the base brightness. I’m adding saturation to that as well.

And I’m pretty happy with how that came out.

  • Things that are basically touching will bleed into each other with a brush effect (such as the feet and the base of the trees in this shot)
  • Shadowed areas will exaggerate the watercolour texture and boost the saturation of the colours in them
  • You can enhance the watercolour effect further by using an actual paintbrush-style texture on your models, which I haven’t done below

Also, the new Voltron preset gained some benefit from the brush stroke effect:

And here’s the same scene as a watercolour:

Hm, I don’t know if I do something wrong or your cel shader (Anime one) work so different that I can’t get near the look like here:

http://www.gdcvault.com/play/1022031/GuiltyGearXrd-s-Art-Style-The on the left “Live Demo: Shader Preview”

Will try further

That’s a good talk. They have the benefit of working from the ground up with whatever rendering techniques they need. By contrast in UE lighting stuff is off-limits to materials, even in the post-process phase. What he demonstrates with normals is also highly valid as well - so much of the process is about the material you’re cel-shading over rather than the cel shader itself.

They do their cel effect by doing several things:

  1. Simplifying the lighting down to on/off.
  2. No texture data other than flat colour.
  3. Interesting but time-consuming technique of specifically setting internal detail lines
  4. Standard inverted hull outline

These are good, but they’re also bog-standard and not that flashy. You also can’t do the important bits in UE at the moment either such as flattened lighting. UE only lets you alter the base colour and other PBR properties of a material but leaves lighting out of the mix and does that in a separate pass called Deferred Lighting.

3 is possible, but it’d be a lot of work. If you verbatim copy the technique in the video you’ll get the same inner line result.

4 is possible in your modeling stage, but I haven’t seen a runtime implementation for UE yet. This is also an unreliable process for complex models and will probably screw with your rigging on skeletal animations.

Anyway, the effect I linked above in my last post will do a fairly good job of emulating the simplified lighting you’re after when it’s released, but with a number of caveats and limitations that you don’t get when you have a proper cel lighting process, which we don’t have in UE.

I’d really like to introduce a new material lighting type that will achieve the same effect but more simply, but even then it depends on your normals. I’ve just started looking into code projects and extending objects so eventually the celshader will become a plugin and the lighting change will be a possibility.

is that something that could be solved with a plug-in? Not sure if you implied that with your last part of the reply or not

Either a plugin or an engine modification, I think so.

Is it possible to exclude materials from the Shader (with a Mask would be great)? All time the shader ruins textures that should stay as it be, for example the eye textures.

Or is there a other workaround?

It sure is! Check the docs: http://skull.co.nz/cel-shader-introduction/#exclusions

In short: you exclude items by toggling their custom depth flag on and then adjusting a setting in the shader preset. You can also invert the mask. This is possible on everything except landscapes if I recall correctly.

In the future I’ll be improving it slightly by adding a control for the outline clipping.

It’s been a while and updates are ready to ship! This not only includes the watercolour effect above, but also a new simple character deferred lighting model like what you find in anime. Anime lighting tends to be drawn to suit the subject using the least effort. Regular Unreal Engine lighting is just too good for anime!

Before:

After:

With softening:

This effect gives you simple, consistent uni-directional lighting on characters and objects. It is based on camera rotation and a custom lighting direction, so your lighting will always come from the same direction as seen by the player. It also features:

Softening
Luminosity range
Falloff

Posterization has been removed as it is no longer necessary and wasn’t a particularly nice effect.

Look for an update for your assets soon and don’t forget to check out the new Space sample map!

Sounds not bad, will try it. Didn’t make anything the last weeks with this shader.

Did it run on 4.9? I saw in the change log that are there some changings on “Post Process Blending” on the list, don’t know if there is something useful for this cel shader.

yeah I wonder too, if this cel shader pack is compatible with the latest 4.9 release?

also I can’t see the images of comparison of watercolors in your last post , before and after shots. Images are missing.

Yes, there’s no reason why it wouldn’t work with 4.9.

The post-processing changes are something I’ve been looking forward to! They won’t affect anything now, but they’ll make implementing the next major change easier.

You should be able to see the images. If not, can you see anything when you visit http://imgur.com ? The images are quite large, so they may not be fully loading for you.

Hey… Looks great, may I suggest putting a direct link to the Marketplace Item page in your signature and on the first post of this thread. Cheers.

You guys are just full of good ideas. :slight_smile: