diff options
author | clyne <clyne@bitgloo.com> | 2019-09-25 14:35:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-25 14:35:10 -0400 |
commit | 5de39474dd9c17cc7f09015f291769fbe3fd5931 (patch) | |
tree | 73de6ae8aad4418cd19d55d5b468a20b404446ec /Shaders/world.vert | |
parent | ec0ab456cf869f2daa6dea41158c54da745626d8 (diff) | |
parent | 1703f84121f18277c2a9bd671e204730c131c102 (diff) |
Merge pull request #2 from tcsullivan/font-support
Font support
Diffstat (limited to 'Shaders/world.vert')
-rw-r--r-- | Shaders/world.vert | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Shaders/world.vert b/Shaders/world.vert index aa183a2..28fd307 100644 --- a/Shaders/world.vert +++ b/Shaders/world.vert @@ -3,16 +3,19 @@ //layout(location = 0)in vec3 vertex; in vec3 vertex; in vec2 texc; +in float trans; uniform mat4 projection; uniform mat4 view; uniform mat4 model; +out float fragTrans; out vec2 texCoord; out vec4 fragCoord; void main() { + fragTrans = trans; texCoord = texc; fragCoord = vec4(vertex, 1.0f); gl_Position = projection * view * model * fragCoord; |