public OutlinePass(OutlineFeature feature, string[] shaderTags)
        {
            _feature = feature;

            if (shaderTags != null && shaderTags.Length > 0)
            {
                foreach (var passName in shaderTags)
                {
                    _shaderTagIdList.Add(new ShaderTagId(passName));
                }
            }
            else
            {
                _shaderTagIdList.Add(new ShaderTagId("UniversalForward"));
                _shaderTagIdList.Add(new ShaderTagId("LightweightForward"));
                _shaderTagIdList.Add(new ShaderTagId("SRPDefaultUnlit"));
            }
        }
Exemple #2
0
 public OutlinePass(OutlineFeature feature)
 {
     _feature = feature;
 }