Last active
August 11, 2017 14:54
-
-
Save KumoKairo/6f5b4acd01c8966093bb335c517a154a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct appdata | |
{ | |
float4 position : POSITION; | |
float3 texcoord : TEXCOORD0; | |
}; | |
struct v2f | |
{ | |
float4 position : SV_POSITION; | |
float3 texcoord : TEXCOORD0; | |
}; | |
v2f vert(appdata v) | |
{ | |
v2f o; | |
o.position = UnityObjectToClipPos(v.position); | |
o.texcoord = v.texcoord; | |
return o; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment