Got some geometry up and rotating. It will be pretty trivial to pass in
the camera rotation now and have it follow along.
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#version 330 core
|
||||
|
||||
in vec4 vertexColor;
|
||||
out vec4 color;
|
||||
|
||||
|
||||
|
||||
void main() {
|
||||
color = vec4(0.0f, 0.5f, 0.2f, 1.0f);
|
||||
color = vertexColor;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user