Skip to content

Instantly share code, notes, and snippets.

@halby24
Last active Jan 28, 2021
Embed
What would you like to do?
視界ハック用頂点シェーダーメモ
v2f vert (appdata v)
{
v2f o;
o.uv = v.uv;
o.vertex = float4(v.uv.x * 2 - 1, 1 - v.uv.y * 2, 0, 1);
return o;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment