image.png
    坐标系之间是用矩阵来进行变换的
    image.png

    1. v2f vert(appdata v)
    2. {
    3. v2f o = (v2f)0;
    4. //o.pos= mul(UNITY_MATRIX_VP,mul(unity_ObjectToWorld,v.vertex));
    5. o.pos = UnityObjectToClipPos(v.vertex);
    6. return o;
    7. };