shader 頂點屬性——顏色

在shader咱們會常常要本身定製一些輸入變量到頂點着色器,所有的頂點屬性在UnityCG.cginc 你能夠在unity的安裝目錄下找到: 好比:D:\Program Files\Unity2018\Editor\Data\CGIncludeshtml struct appdata_full { float4 vertex : POSITION; float4 tangent :
相關文章
相關標籤/搜索