Zylann / godot_heightmap_plugin

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

Get texture at a given coordinate? #408

Open Runkli opened 10 months ago

Runkli commented 10 months ago

Is there a method I could use that would return to me the texture (or texture distribution) that exists at a given coordinate? I'd like to use this for something like dynamic walking sounds. Thanks!

Zylann commented 10 months ago

There is no method at the moment, you have to access pixels of the image directly.

Runkli commented 10 months ago

Would this be hard to implement?

Zylann commented 10 months ago

Depends, it was already asked in https://github.com/Zylann/godot_heightmap_plugin/issues/342