0
$\begingroup$

I've tried every other solution on stack exchange but can't find much luck. Sometimes my toon shaders will have this choppy, angular look that isn't ideal. Here is what things look like rendered:

man render mode

But things look fine in material preview mode:

man image preview mode

Here is my material node set up:

Toon Shader node setup

And here are my scene shadow settings, these normally get the best results but don't seem to be helping much here:

File Shadow Settings

Is there maybe something wrong with my lights? I'm not sure what else to try and it looks quite ugly lol.

Here is the project file if needed:

https://drive.google.com/file/d/1QJ_5hKZkPkQdEylG5Uju48kfwrpZeEsL/view?usp=sharing

Thank you!

$\endgroup$

1 Answer 1

1
$\begingroup$

The reason why it doesn't look the same between material and rendered shading modes is simply because the material shading mode is by default not using your scene's lighting and world material. And even when it does, it is still a limited rendering method compared to the rendered shading mode. So the render can be drastically different.

For the jagged edges, I think it comes from your inverted hull method for making the mesh outline.

You used a solidify modifier to duplicate the mesh, inflate it, invert its normals, and assigned to it a material with backface culling and black material.

But you let its shadow mode to opaque, so it is still calculating shadows. Try setting it to None and it will look better:

enter image description here

On a different note:

Your toon lines shader could be simplified to this:

enter image description here

it would be the same as plugging a black emission shader, and faster to compute.

Similarly, your skin shader could also be simplified. Instead of usin two principled BSDF and two Shader To RGB nodes, which do the same thing, just use one of each and plug them in the ramp nodes. And since Principled BSDF is also a bit costly in terms of performance for what you do with it, you could also replace it by a simple diffuse BSDF:

enter image description here

$\endgroup$
2
  • $\begingroup$ This is so helpful, thank you @Lauloque ! This has solved most of the issue and sped up my project by quite a lot. I've decided to abandon using the solidify modifier to generate the toon lines around the characters and am instead using the grease pencil line art tool. But I am still getting jagged edges on some of the shadows, like in the link below, is there anything I can do about this? drive.google.com/file/d/1kjt8JQfy2I02WrPZR4g3gT958bWfeZif/… $\endgroup$
    – Zack Alves
    Commented Aug 29 at 17:11
  • $\begingroup$ See blender.stackexchange.com/a/139809/53447 Also remember that you can zoom in your viewport and see more detail than what you would get in the final render. Make actual render tests to be sure it's even worth troubling about. $\endgroup$
    – Lauloque
    Commented Aug 29 at 20:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .