Toon shading model

Tried 3 time, everytime got error: error.jpg

Running windows10, is it the problem?

No, your file path is too long. Try putting the folder higher up in the chain to reduce the path length. For example, instead of having “C:UnrealDev/Projects/CelShadeTest/Unreal-Master” try having it as “C:UnrealDev/Unreal-Master”. I had the same problem and fixed it for me:P

wow its working now, really impressive!! how add dark outline?

You need a sepperate Post Process Outline Shader for that, which is not included in . Google it and you will find some examples you could try to make.

But as said, don’t try to build your games in . It’s made from the Master branch, which Epic are constantly making changes to and breaking stuff in the process. For example, I noticed that build of the Master branch doesn’t save your input mappings under Project Settings propperly. So I just use to test my models and see how they look with awesome shader:) I really hope gets added to a future stable release of the Engine.

Ok thanks, in fact i want use for making background for my webcomic, so its perfect for now like :slight_smile:

Looks like some more shader changes on master have made your PR unmergable. Wish someone from Epic would at least comment on your PR to give you an idea if they’re thinking about it.

A quick look indicates that it should be a real easy fix to get it mergable again. I’ll do so as soon as I have a moment to spare.

Unlike a bug fix PR probably needs some dicussion internally so I wouldn’t expect a decision too soon. Though a comment whether or not they are even considering it would be appreciated :wink:

Looks **** good. I’ve linked my unreal engine with my github account but it’s not allowing me to download, maybe it takes time.

Yeah, definitely. At least then you’d have an idea if it’s something you need to constantly maintain in a mergable manner. One of the changes removed the hard coded max number of shader models, so maybe they’re looking into a way to have new models added more generically. Ideally they could do it in a way that you could be up on the Marketplace and make a few $ for the effort you’ve put in.

Did you get an email from Epic and Github when you added it? If you did, the email from Github will have a link in it to join the team. If you got one from Epic and not Github then try just visiting Sign in to GitHub · GitHub If you’ve been invited it’ll work and you’ll join.

fantastic shader addition. Thank you Arnarge for implementing it. I’ve used it on my map and put some post process on top, had it working with the outline but think shader is so strong it looks better without it.
https://www…com/watch?v=eaJAz9VceiI
am getting weird grass behaviour in build though, turns off if i’m not facing a particular quadrant of the world.

I had some funkiness in the build also with extra sets of shadows following my camera around (I could just pan, and shadows would move without models or light source moving). I’m curious how much trouble it would be to integrate into a release branch so we aren’t playing around with 4.11.x bugs.

Thank you for your work, modification is great! But i have a question. Is it possible to make custom toon-shader including lightwarp function for shader, using a ramp texture?

I did another rebase to fix the recent incompatibility with the master branch. The master branch is still kind of buggy though so the same warnings remain.

@mserana That looks awesome. Too awesome to be hidden behind a link. You can directly embed videos like : (click reply to see the code)

watch?v=eaJAz9VceiI

@axioma702 Not with shading model, no. You could add it as another shading model though and that is actually the kind of shading model that DanielW suggested on the first page of thread.

@axioma72 you can do something similar with [Tutorial - Gradient Fresnel for Cinematic Lighting in Unreal 4](TomLooman Gradient)
@arnage thanks, glad you liked it. thank you so much for making the shading model. excellent stuff. and thanks for the relink. looks better embedded.

Total noob here, sorry, trying to not use command lines, just get the overall idea, OSX, have Github & Unreal compiled and working now I would like to test out ArneBezuijen awesome shader…

So, I am supposed to do what? Clone ArneBezuijen’s reposotory? But… he has no public reposotory… how do I ‘download’ the engine with the code you guys made?

Total noob with noone else to ask, have given up on Google, sorry & thanks :slight_smile:

N00b here too, I just followed the tutorial on the ReadMe.md

Download : https://github.com/ArneBezuijen/UnrealEngine/tree/311cbebe313785b404731cf6c0f36bc20275ab9f
Then its standard compile/bulld in Visual Studio.

One thing I’m trying to figure out is how to actually get it to work…
I’ve got my material open, I’ve set it to the Toon shading model, but it looks exactly the same as the default lit…
Halp?


need toon blend to be set to 1 and then toon roughness will control how rough or sharp the banding will be and the toon step size will control the number of bands, so set toon blend to 1, toon roughness to 0 and toon step size to 0.3 and you’ll see something

The default values are:
Toon Blend: 1.0
Toon Roughness 0.1
Toon Step size 1.0

Toon roughness defines how hard or soft the transition between the steps is. When set to 1.0 the steps will be fully blended together and it will indeed look like regular shading.

I hope the master branch gets a little more stable soon so I can finish my example map. (Kind of hard when you can’t build lighting) That should help clarify these values.

Thanks a lot Construc_ - but how the H… did you get to that? I ended up here constantly:

And that appears like a dead end to me?!? (No link to https://github.com/ArneBezuijen/UnrealEngine/tree/311cbebe313785b404731cf6c0f36bc20275ab9f)
(Sorry for forking Cel shading talk, but I figure the next person stuck here would appreciate tip)