0
\$\begingroup\$

I need help understanding what type of shader can create this type of soft shadow:l, where you can barely see that it is low poly:

enter image description here

With standard lit shader you get this type of shading which I rly don’t like:

enter image description here

My problem is that I don’t even know what to search for, what is this type of shader called?

\$\endgroup\$
  • \$\begingroup\$ doesn't look toon shaded or cell shaded at all -- just solid art direction. It is using vertex shading instead of face shading like the fox, so you get smooth transitions around the edges of triangles. Not sure about the shadow algorithm but something based on shadow maps. \$\endgroup\$ – Steven Jan 11 '20 at 21:16
  • \$\begingroup\$ @Steven thanks had no idea. When I look up vertex shaders all I find are shaders meant to animate materials (see: febucci.com/2018/10/vertex-shader). Is there some link you can provide me or a search I can use to find tutorials or assets for this type of shader? \$\endgroup\$ – Majs Jan 11 '20 at 22:00
  • \$\begingroup\$ I found one old asset: assetstore.unity.com/packages/3d/…. Def wont be URP compatible but can give it a look over. \$\endgroup\$ – Majs Jan 11 '20 at 22:28
  • \$\begingroup\$ The main ingredient you're missing is smoothing. You want all the vertex normals for all the triangles meeting at a point to be the same - this will make a smooth shading blend across each edge, instead of a hard crease. \$\endgroup\$ – DMGregory Jan 11 '20 at 23:22
  • 2
    \$\begingroup\$ Yes you can. \$\endgroup\$ – DMGregory Jan 12 '20 at 9:15

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.