Normal/Height maps now working from models, and are only applied to models that have them.

This commit is contained in:
Zed A. Shaw 2026-09-30 17:36:48 -04:00
parent 4efe72b8d8
commit 8b41591360
8 changed files with 170 additions and 12 deletions

View file

@ -112,7 +112,7 @@ void process_input(GLFWwindow *window, std::shared_ptr<Scene> scene) {
std::shared_ptr<Scene> setup() {
glEnable(GL_DEPTH_TEST);
glEnable(GL_BLEND);
glDisable(GL_CULL_FACE);
glEnable(GL_CULL_FACE);
glEnable(GL_MULTISAMPLE);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);