Search Unity

Showcase Made a stylized/low poly shader for unity terrain

Discussion in 'Shaders' started by JamesL98, Feb 16, 2023.

  1. JamesL98

    JamesL98

    Joined:
    Oct 9, 2014
    Posts:
    50
    Using Amplify Shader Editor I have created a cool low poly shader for unity's default terrain (SRP). Thought some people might like it, if there's any interest ill chuck it on the asset store.

    It's flat shaded, uses splat maps, custom highlights and shadows and has an outline effect.

    upload_2023-2-17_10-46-20.png

    upload_2023-2-17_10-47-2.png
    upload_2023-2-17_10-48-13.png
    upload_2023-2-17_10-49-8.png

    upload_2023-2-17_10-49-28.png


    If you want to recreate on urp/hdrp its something along these lines:
    Uses the tangent cross product of DDY/DDX to generate normals
    Light direction and world normal to lerp between highlight and shadow tone
    And a Fresnel to get the edge effect.