TokisanGames / Terrain3D

A high performance, editable terrain system for Godot 4.
MIT License
2.26k stars 134 forks source link

Expose texture type(base and overlay) by global position just like height #504

Closed omercemcicekli closed 1 month ago

omercemcicekli commented 1 month ago

Description

It might be a good idea to expose texture by global position to detect what kind of texture it is to play sounds accordingly (mud, grass, sands, etc.). Feel free to correct my proposal if there is a way to do this with the current API.

Thanks.

TokisanGames commented 1 month ago

https://terrain3d.readthedocs.io/en/stable/api/class_terrain3dstorage.html#class-terrain3dstorage-method-get-texture-id