feat: replace skybox images
Before Width: | Height: | Size: 289 KiB After Width: | Height: | Size: 304 KiB |
Before Width: | Height: | Size: 243 KiB After Width: | Height: | Size: 251 KiB |
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 288 KiB |
Before Width: | Height: | Size: 298 KiB After Width: | Height: | Size: 311 KiB |
Before Width: | Height: | Size: 338 KiB After Width: | Height: | Size: 346 KiB |
@ -38,48 +38,50 @@ std::string skyboxTextures[6] = {
|
|||||||
"models/skybox/back.jpg"
|
"models/skybox/back.jpg"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
float skyboxVerticeParameter = 20.0f;
|
||||||
|
|
||||||
float skyboxVertices[] = {
|
float skyboxVertices[] = {
|
||||||
-20.0f, 20.0f, -20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
-20.0f, -20.0f, -20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
20.0f, -20.0f, -20.0f,
|
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
20.0f, -20.0f, -20.0f,
|
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, -20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
-20.0f, 20.0f, -20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
|
|
||||||
-20.0f, -20.0f, 20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
-20.0f, -20.0f, -20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
-20.0f, 20.0f, -20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
-20.0f, 20.0f, -20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
-20.0f, 20.0f, 20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
-20.0f, -20.0f, 20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
|
|
||||||
20.0f, -20.0f, -20.0f,
|
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
20.0f, -20.0f, 20.0f,
|
skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, 20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, 20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, -20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
20.0f, -20.0f, -20.0f,
|
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
|
|
||||||
-20.0f, -20.0f, 20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
-20.0f, 20.0f, 20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, 20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, 20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, -20.0f, 20.0f,
|
skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
-20.0f, -20.0f, 20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
|
|
||||||
-20.0f, 20.0f, -20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, -20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, 20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, 20.0f, 20.0f,
|
skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
-20.0f, 20.0f, 20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
-20.0f, 20.0f, -20.0f,
|
-skyboxVerticeParameter, skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
|
|
||||||
-20.0f, -20.0f, -20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
-20.0f, -20.0f, 20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, -20.0f, -20.0f,
|
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
20.0f, -20.0f, -20.0f,
|
skyboxVerticeParameter, -skyboxVerticeParameter, -skyboxVerticeParameter,
|
||||||
-20.0f, -20.0f, 20.0f,
|
-skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter,
|
||||||
20.0f, -20.0f, 20.0f
|
skyboxVerticeParameter, -skyboxVerticeParameter, skyboxVerticeParameter
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|