Zylann / godot_heightmap_plugin

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

Slope limits for color paiting #367

Open VecterraSoft opened 1 year ago

VecterraSoft commented 1 year ago

Have slope limits for color painting. I have been trying to go over your Brush Tools code for the last 4 hours but could not manage to figure out how you set limits on brushes. I did however manage to fix some things like the "pick" button for setting flatten height getting obstructed by the texture panel. And showing slope limit numbers to see what slopes are being selected. I also fixed the red cursor being offset to the terrain. I shifted it -0.5 in both the x and z axis to have it aligned perfectly. I must say. Good job on this tools very good. Also is there a way to me the quads in the terrain bigger? I fooled around with it yesterday for the better part of a day tring to see if i could change that but couldnt figure it out. Some of us are trying to create a low poly, low fidelity game for mobile.

ALSO FYI: I had to downgrade from Godot 4.0 to use this wonderfull plugin. Any news on a version for Godot 4? (not a big deal, just started using godot like last week, coming from Libgdx).

editor

MJacred commented 1 year ago

Any news on a version for Godot 4?

There's a dedicated branch for Godot 4: https://github.com/Zylann/godot_heightmap_plugin/tree/godot4

Also is there a way to me the quads in the terrain bigger?

If you mean spreading the vertices further apart, then that should be possible with Map Scale.

Some of us are trying to create a low poly, low fidelity game for mobile.

See also docs for info on low poly terrain shading: https://github.com/Zylann/godot_heightmap_plugin/blob/master/addons/zylann.hterrain/doc/docs/index.md#lowpoly