2023-04-01から1ヶ月間の記事一覧
はじめに シェーダーに書くもの #include "UnityCG.cginc" struct v2f{}の中身 float4x4 unity_Projector; float4x4 unity_ProjectorClip; v2f vert(appdata v){}の中身 fixed4 frag(v2f i) : SV_Target{}の中身 おわりに はじめに タイトル通り。Projector…
はじめに シェーダーに書くもの #include "UnityCG.cginc" struct v2f{}の中身 float4x4 unity_Projector; float4x4 unity_ProjectorClip; v2f vert(appdata v){}の中身 fixed4 frag(v2f i) : SV_Target{}の中身 おわりに はじめに タイトル通り。Projector…