Created
January 25, 2013 05:27
-
-
Save mbohun/4631996 to your computer and use it in GitHub Desktop.
ARBvp1.0 simple
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
!!ARBvp1.0 | |
PARAM mvp[4] = { state.matrix.mvp }; | |
DP4 result.position.x, mvp[0], vertex.position; | |
DP4 result.position.y, mvp[1], vertex.position; | |
DP4 result.position.z, mvp[2], vertex.position; | |
DP4 result.position.w, mvp[3], vertex.position; | |
MOV result.texcoord[0], vertex.texcoord[0]; | |
MOV result.texcoord[1], vertex.texcoord[1]; | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment