diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-23 22:14:13 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-23 22:14:13 -0400 |
commit | f6a0e340bc82cb5fb96f836686bd59aaffd5db97 (patch) | |
tree | 8d7e96bbd997be9d0a1e9bf088689366aeaae96e /Shaders/ui.vert | |
parent | 0869328b12ff9b77000915f37443dcf2468d881e (diff) |
Fixed text rendering
Diffstat (limited to 'Shaders/ui.vert')
-rw-r--r-- | Shaders/ui.vert | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Shaders/ui.vert b/Shaders/ui.vert index ee4f92c..d2e3902 100644 --- a/Shaders/ui.vert +++ b/Shaders/ui.vert @@ -12,8 +12,8 @@ out vec4 color; void main(){ texCoord = tex_coord; - color = vec4(1.0, 1.0, 1.0, 1.0); + color = vec4(0.0f, 0.0f, 0.0f, 1.0f); //color = tex_color; - //gl_Position = ortho * vec4(coord2d.xyz, 1.0); - gl_Position = projection * view * model * vec4(coord2d, 1.0f); + //gl_Position = ortho * vec4(coord2d.xyz, 1.0f); + gl_Position = projection * view * model * vec4(coord2d.xyz, 1.0f); } |