Created
January 21, 2021 15:10
-
-
Save PumpkinPaul/812ad66078367ca2e103fbff7594e6cd to your computer and use it in GitHub Desktop.
Vertex Shader
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
#ifndef VERTEX_FXH | |
#define VERTEX_FXH | |
#include "Structures.fxh" | |
PSInput CommmonVertexShader( | |
float4 position : POSITION0, | |
float4 color : COLOR0, | |
float2 texCoord : TEXCOORD0) | |
{ | |
PSInput output; | |
output.position = mul(position, MatrixTransform); | |
output.color = color; | |
output.texCoord = texCoord; | |
return output; | |
} | |
#endif /* VERTEX_FXH */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment