uinty3d 把物体变灰的shader
摘要:
这是一个把物体灰的shaderShader "Custom/grayShader" {Properties { _MainTex ("Base (RGB)", 2D) = "white" {} _RampTex ("Base (RGB)", 2D) = "grayscaleRamp" {}}SubShader { Pass { ZTest Always Cull Off ZWrite Off Fog { Mode off } CGPROGRAM#pragma vertex vert_img#pr 阅读全文
posted @ 2013-06-18 10:36 geoffyange 阅读(966) 评论(0) 推荐(0) 编辑