Im too confused and lost on this one can anyone help Change the current shader on a object mesh to cutout and how do you do it? Blend mode? ugh
Change the .material property on the Renderer for that mesh object.
Change it to What tho…
n.gameObject.AddComponent<MeshCollider>();
n.GetComponent<Renderer>().material.shader = Shader.Find("Standard");
n.GetComponent<Renderer>().material = Shader.Find
n.GetComponent<Renderer>().material.SetFloat("_Glossiness", 0);
The material using the cutout shader ?!
Generally you don’t change the shader on a material. Just make 2 materials each referencing the right shader and swap it out.
Be sure to understand the relationship between shader, material and all the properties and assets that go into it.