mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Fix skybox order.
This commit is contained in:
@@ -203,8 +203,8 @@ int main()
|
||||
FileSystem::getPath("resources/textures/skybox/left.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/top.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/bottom.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/back.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/front.jpg")
|
||||
FileSystem::getPath("resources/textures/skybox/front.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/back.jpg")
|
||||
};
|
||||
unsigned int cubemapTexture = loadCubemap(faces);
|
||||
|
||||
|
||||
@@ -201,8 +201,8 @@ int main()
|
||||
FileSystem::getPath("resources/textures/skybox/left.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/top.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/bottom.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/front.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/back.jpg"),
|
||||
FileSystem::getPath("resources/textures/skybox/front.jpg")
|
||||
};
|
||||
unsigned int cubemapTexture = loadCubemap(faces);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user