孙广东 2016.8.4
http://blog.youkuaiyun.com/u010019717
注意: 不是Shader 代码
有上自然有下, 有下自然有上
写在Shader前, unity数字图像处理 上
4、模糊
using UnityEngine;
using System.Collections;
public class Test : MonoBehaviour
{
public Texture2D t;
[Range(0, 15)]
public int intensity = 2;
Texture2D tt;
void Start()
{
transform.localScale = new Vector3((float)t.width / (float)t.height, 1);
//InvokeRepe