diff options
Diffstat (limited to 'Unicity.Renderer/shaders/test.vert')
| -rw-r--r-- | Unicity.Renderer/shaders/test.vert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Unicity.Renderer/shaders/test.vert b/Unicity.Renderer/shaders/test.vert index c0395f0..99496c0 100644 --- a/Unicity.Renderer/shaders/test.vert +++ b/Unicity.Renderer/shaders/test.vert @@ -1,12 +1,12 @@ #version 400 core layout (location = 0) in vec3 aPos; +layout (location = 1) in vec3 aColor; out vec4 vertexColor; -uniform vec4 inColor; void main() { gl_Position = vec4(aPos, 1.0f); - vertexColor = inColor; + vertexColor = vec4(aColor, 1.0f); }
\ No newline at end of file |
