parent
29d8b48503
commit
a2c8ddca13
6 changed files with 13 additions and 44 deletions
|
@ -743,7 +743,7 @@ Model LoadHeightmap(Image heightmap, float maxHeight)
|
|||
vData.texcoords[tcCounter + 7] = vData.texcoords[tcCounter + 5];
|
||||
|
||||
vData.texcoords[tcCounter + 8] = vData.texcoords[tcCounter + 2];
|
||||
vData.texcoords[tcCounter + 9] = vData.texcoords[tcCounter + 3];
|
||||
vData.texcoords[tcCounter + 9] = vData.texcoords[tcCounter + 1];
|
||||
|
||||
vData.texcoords[tcCounter + 10] = (float)(x+1) / (mapX-1);
|
||||
vData.texcoords[tcCounter + 11] = (float)(z+1) / (mapZ-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue