projects
/
csrpg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7fa6d
)
updated crate vertex to utilise transform
author
matthew
<matthew@owens.tech>
Tue, 18 Sep 2018 17:51:49 +0000
(18:51 +0100)
committer
matthew
<matthew@owens.tech>
Tue, 18 Sep 2018 17:51:49 +0000
(18:51 +0100)
shaders/crate/crate.vert
patch
|
blob
|
history
diff --git
a/shaders/crate/crate.vert
b/shaders/crate/crate.vert
index
75f6f25
..
c58ceb7
100644
(file)
--- a/
shaders/crate/crate.vert
+++ b/
shaders/crate/crate.vert
@@
-9,7
+9,7
@@
uniform mat4 camera;
void main()
{
//gl_Position = transform * vec4(aPos, 1.0);
-
//
gl_Position = camera * transform * vec4(aPos, 1.0);
- gl_Position = camera * vec4(aPos, 1.0);
+ gl_Position = camera * transform * vec4(aPos, 1.0);
+
//
gl_Position = camera * vec4(aPos, 1.0);
vTex = aTex;
}