ARFoundation Quick Start-14 Add Shadow

One, lighting settings

 

Two, quality settings

 

Three, add shadow 

1. Add a shadow Shader (as follows)

Shader "ChuckLee/ARShadow"
{
    Properties
    {
        _ShadowColor ("Shadow Color", Color) = (0.1, 0.1, 0.1, 0.53)
    }
    SubShader
    {
        Tags { "RenderType"="Transparent" "Queue"="Geometry+1"}
        Blend SrcAlpha OneMinusSrcAlpha 

        Pass
        {
            Tags { "LightMode"=

Guess you like

Origin blog.csdn.net/a451319296/article/details/107252008