From 680d9d5b7a61ac955fcec8a5622faa5cf4165c11 Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 9 Jul 2023 20:51:30 +0200 Subject: Ambient occlusion (without corners) --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 6a6f9ee..c690391 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,6 +83,7 @@ void run() { glDepthFunc(GL_LEQUAL); glEnable(GL_CULL_FACE); + glFrontFace(GL_CCW); glCullFace(GL_BACK); U64 time = 0; -- cgit 1.4.1