From 18f50d5420ce9a6c238ea04542baf8140e8c2dcb Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 9 Dec 2021 15:42:20 -0500 Subject: [PATCH] Lighting was working the entire time, it was just the texture smh --- examples/dev_testing/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dev_testing/src/main.cpp b/examples/dev_testing/src/main.cpp index c6efe2c..fedd4f9 100644 --- a/examples/dev_testing/src/main.cpp +++ b/examples/dev_testing/src/main.cpp @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) { auto light = std::make_shared(core_shader, glm::vec3(0.f, 0.f, -20.f), glm::vec3(1.f, 1.f, 1.f)); game.add_event(light); - simpleengine::gfx::Texture white_texture("resources/white_texture.jpg"); + simpleengine::gfx::Texture white_texture("resources/white_texture.png"); auto dragon = std::make_shared(game.get_window(), core_shader, white_texture, "resources/dragon.obj"); dragon->translate(0.f, -5.f, -25.f); game.add_event(dragon);