make skybox bigger
This commit is contained in:
parent
128a22519e
commit
1b7e6d9bb1
@ -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)
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user