Zylann / godot_heightmap_plugin

HeightMap terrain for Godot implemented in GDScript
Other
1.71k stars 159 forks source link

Grass continues after the terrain and don't know why #450

Open mddm1 opened 2 months ago

mddm1 commented 2 months ago

I am 100% sure someone had this issue already and can help me out as I am surely doing something wrong here. Photo below.

fdfdfdf
Zylann commented 2 months ago

Which version of the plugin is it? How do you get it to happen?

mddm1 commented 2 months ago

last version I suppose. I started this project 3 weeks ago. I don't know how. I didn't do anything. The HTerrain is centered. But this happens even when it is not. I also use godot (4.2.1) mobile renderer if that changes anything.

here another photo

sddddd

(the detail map has a border - this is why the grass stops at the edges)

Zylann commented 2 months ago

last version I suppose

So you got it directly from the repo? Or from the asset library? The version is shown in the About window of the Terrain menu.

Anyways, I thought it was an older issue that was fixed in the repo but not on the asset library version. But it seems to happen on the positive sides of the terrain. Detail layers are spawning one extra chunk beyond the border, probably some rounding issue.

Zylann commented 2 months ago

Added a fix in b0cf65e462b08464ba6bd0d7e281d35d0b92a456

mddm1 commented 2 months ago

last version I suppose

So you got it directly from the repo? Or from the asset library? The version is shown in the About window of the Terrain menu.

Anyways, I thought it was an older issue that was fixed in the repo but not on the asset library version. But it seems to happen on the positive sides of the terrain. Detail layers are spawning one extra chunk beyond the border, probably some rounding issue.

I forgot how to check the version - I swear I know where it was. I'm using 1.7.2. Although I did forget where I got it from. >.<

mddm1 commented 2 months ago

Added a fix in b0cf65e

thanks a lot! kind sir Zylann