feat: add assignment 3 files
This commit is contained in:
BIN
data/textures/front.png
(Stored with Git LFS)
Normal file
BIN
data/textures/front.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
data/textures/top.png
(Stored with Git LFS)
Normal file
BIN
data/textures/top.png
(Stored with Git LFS)
Normal file
Binary file not shown.
7187
lib/stb/stb_image.h
Normal file
7187
lib/stb/stb_image.h
Normal file
File diff suppressed because it is too large
Load Diff
@@ -84,7 +84,7 @@ void Engine::initialize()
|
||||
// Initialize default shader
|
||||
Logger::info("Loading default shaders...");
|
||||
state::default_shader =
|
||||
std::make_shared<Shader>("data/vertex.glsl", "data/fragment.glsl");
|
||||
std::make_shared<Shader>("data/shaders/vertex.glsl", "data/shaders/fragment.glsl");
|
||||
if (std::strlen(state::default_shader->error()) > 0) {
|
||||
Logger::error(sstr("Failed to initialize shaders: ",
|
||||
state::default_shader->error()));
|
||||
|
||||
Reference in New Issue
Block a user