删掉了一些多余的贴图

This commit is contained in:
胤龙 2022-12-19 12:10:07 +08:00
parent 16fba2241e
commit 9e5b8ccc52
5 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ Terrain::Terrain(std::string path){
stbi_set_flip_vertically_on_load(true);
unsigned char* data = stbi_load("D:/ProgrammingFile/LearnOpenGL/src/8.guest/2021/3.tessellation/terrain_gpu_dist/resources/heightmaps/iceland_heightmap.png", &width, &height, &nrChannels, 0);
unsigned char* data = stbi_load((path+"/heightmap.png").c_str(), &width, &height, &nrChannels, 0);
int rez = 1;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB