Last active
October 21, 2022 04:24
-
-
Save halby24/5d6d14053840620b4f623d17ef117281 to your computer and use it in GitHub Desktop.
視界ハック用頂点シェーダーメモ
This file contains 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
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