unity3d关于怎样动态改变物体 shader

  material = new Material(Shader.Find("Custom/Alpha"));

material.SetFloat("_Shininess", materialAlpha);


void OnRenderImage(RenderTexture source, RenderTexture destination)
{
Graphics.Blit(source, destination, material);
}