1
$\begingroup$

I'm using modified vertex normals for making an anime-style toon shading. The thing is, if an object is placed between the light source and the object with modified normals, it's shadow hasn't got it's actual shape. Is there a way to use a separate normal for just shadowsenter image description here You can see in this image that the shadow is "wobbly" and it's not the shape it should be.

Edit: Nevermind, I found that the sun type of shader does not work very well with toon shaders and edited vertexd normals, changing the lamp type to area makes it work fine.

$\endgroup$
  • 3
    $\begingroup$ Can you edit your question to explain what you mean by “hasn’t got its actual shape” - preferably add some images to illustrate what the problem is. $\endgroup$ – Rich Sedman May 6 at 16:49
  • $\begingroup$ Done. I hope this helps! $\endgroup$ – Sergio Diaz Esparza May 7 at 19:24
  • $\begingroup$ Please also add details of how you have set up your normals and how changing the normals affects the shadow (could show with normals 'enabled' and 'disabled' to show a difference). Presumably this is using Eevee...? Please provide as much information as you can to allow someone else to easily replicate your problem. $\endgroup$ – Rich Sedman May 10 at 6:29
  • 1
    $\begingroup$ Nevermind, i was using a sun type of lamp that doesn't work very well with toon shaders, specially if you edit the vertex normals. $\endgroup$ – Sergio Diaz Esparza May 13 at 18:13
  • 1
    $\begingroup$ Glad you’ve solved it. It would be good if you could write a quick answer to your own question so that others can learn from your experience. $\endgroup$ – Rich Sedman May 13 at 18:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.