feat: add skybox #2

Merged
s452622 merged 2 commits from skybox into master 2021-12-28 19:03:25 +01:00
27 changed files with 10 additions and 7 deletions
Showing only changes of commit dbfd0e5f2e - Show all commits

View File

@ -1 +1,4 @@
 grafika_projekt.vcxproj -> J:\source\repos\grafika_projekt\Debug\grafika_projekt.exe
 main.cpp
J:\source\repos\grafika_projekt\grafika_projekt\src\main.cpp(108,10): warning C4244: '=': conversion from 'int' to 'float', possible loss of data
J:\source\repos\grafika_projekt\grafika_projekt\src\main.cpp(109,10): warning C4244: '=': conversion from 'int' to 'float', possible loss of data
grafika_projekt.vcxproj -> J:\source\repos\grafika_projekt\Debug\grafika_projekt.exe

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

After

Width:  |  Height:  |  Size: 289 KiB

View File

After

Width:  |  Height:  |  Size: 280 KiB

View File

@ -30,12 +30,12 @@ glm::mat4 cameraMatrix, perspectiveMatrix;
Core::Shader_Loader shaderLoader;
std::string skyboxTextures[6] = {
"models/skybox/right1.jpg",
"models/skybox/left1.jpg",
"models/skybox/top1.jpg",
"models/skybox/bottom1.jpg",
"models/skybox/front1.jpg",
"models/skybox/back1.jpg"
"models/skybox/right.jpg",
"models/skybox/left.jpg",
"models/skybox/top.jpg",
"models/skybox/bottom.jpg",
"models/skybox/front.jpg",
"models/skybox/back.jpg"
};
float skyboxVertices[] = {