I have a Visual Shader displacing a plane mesh using a NoiseTexture2D Simplex noise. Visually I got the basics looking alright. However I'm not entirely sure how to do collisions, with support for other things later such as a potential occlusion mesh or pathfinding and of course grass particles and so on.
The issue is I'm using a noise texture resource, which I may modify in other complex ways throughout the shader. The noise function in GDScript may follow the same base patterns, but it wouldn't be the exact same texture and its coordinates. Is it possible to use the output of a vertex shader as height data for a HeightMapShape3D and other things that have to be set via script?