在Shader上加入
float gray = dot(color.rgb, float3(0.299, 0.587, 0.114)); color.rgb = float3(gray, gray, gray);