feat: replace skybox images

This commit is contained in:
matixezor 2021-12-28 19:17:37 +01:00
parent b7bb40e0fa
commit 778ad9ef0b
6 changed files with 38 additions and 36 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 KiB

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 KiB

After

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 KiB

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 KiB

After

Width:  |  Height:  |  Size: 346 KiB

View File

@ -38,48 +38,50 @@ std::string skyboxTextures[6] = {
"models/skybox/back.jpg"
};
float skyboxVerticeParameter = 20.0f;
float skyboxVertices[] = {
-20.0f, 20.0f, -20.0f,
-20.0f, -20.0f, -20.0f,
20.0f, -20.0f, -20.0f,
20.0f, -20.0f, -20.0f,
20.0f, 20.0f, -20.0f,
-20.0f, 20.0f, -20.0f,
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
-skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
-20.0f, -20.0f, 20.0f,
-20.0f, -20.0f, -20.0f,
-20.0f, 20.0f, -20.0f,
-20.0f, 20.0f, -20.0f,
-20.0f, 20.0f, 20.0f,
-20.0f, -20.0f, 20.0f,
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
-skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
-skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
20.0f, -20.0f, -20.0f,
20.0f, -20.0f, 20.0f,
20.0f, 20.0f, 20.0f,
20.0f, 20.0f, 20.0f,
20.0f, 20.0f, -20.0f,
20.0f, -20.0f, -20.0f,
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
-20.0f, -20.0f, 20.0f,
-20.0f, 20.0f, 20.0f,
20.0f, 20.0f, 20.0f,
20.0f, 20.0f, 20.0f,
20.0f, -20.0f, 20.0f,
-20.0f, -20.0f, 20.0f,
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
-skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
-20.0f, 20.0f, -20.0f,
20.0f, 20.0f, -20.0f,
20.0f, 20.0f, 20.0f,
20.0f, 20.0f, 20.0f,
-20.0f, 20.0f, 20.0f,
-20.0f, 20.0f, -20.0f,
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
-skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
-20.0f, -20.0f, -20.0f,
-20.0f, -20.0f, 20.0f,
20.0f, -20.0f, -20.0f,
20.0f, -20.0f, -20.0f,
-20.0f, -20.0f, 20.0f,
20.0f, -20.0f, 20.0f
-skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter
};