mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 07:28:12 +08:00
删掉了一些多余的贴图
This commit is contained in:
parent
16fba2241e
commit
9e5b8ccc52
@ -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 |
Loading…
x
Reference in New Issue
Block a user