摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class CombineMesh : EditorWindow { [MenuItem("地图/合并Mesh")] static void AddWindow() ... 阅读全文
posted @ 2017-07-21 11:17 露夕逝 阅读(3085) 评论(0) 推荐(0)
摘要: Shader编写通常会遇到语义 1 float4 vert(float4:POSITION):SV_POSITION 2 { 3 return mul(UNITY_MATRIX_MVP,v); 4 } POSITION与SV_POSITION都是Cg/HLSL中的语义,是不可省略的。 float4: 阅读全文
posted @ 2017-07-21 10:18 露夕逝 阅读(1598) 评论(0) 推荐(0)