Code re-work: Advanced OpenGL

This commit is contained in:
Joey de Vries
2017-04-19 22:05:36 +02:00
parent 4b6b4d6377
commit c763be2c08
25 changed files with 1282 additions and 1208 deletions

View File

@@ -187,7 +187,7 @@ int main()
// render
// ------
glClearColor(0.2f, 0.3f, 0.3f, 1.0f);
glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); // don't forget to clear the stencil buffer!
// set uniforms