make skybox bigger

This commit is contained in:
Thyme1 2022-01-08 14:37:23 +01:00
parent 128a22519e
commit 1b7e6d9bb1
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
namespace Core namespace Core
{ {
glm::mat4 createPerspectiveMatrix(float zNear = 0.1f, float zFar = 100.0f); glm::mat4 createPerspectiveMatrix(float zNear = 0.1f, float zFar = 200.0f);
// position - pozycja kamery // position - pozycja kamery
// forward - wektor "do przodu" kamery (jednostkowy) // forward - wektor "do przodu" kamery (jednostkowy)

View File

@ -69,8 +69,8 @@ std::string skyboxTextures[6] = {
"models/skybox/back.jpg" "models/skybox/back.jpg"
}; };
float skyboxVerticeParameter = 20.0f; float skyboxVerticeParameter = 50.0f;
float skyboxBoundary = 18.5f; float skyboxBoundary = 48.0f;
float skyboxVertices[] = { float skyboxVertices[] = {
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,