- Home /
Question by
mzeman2203 · Aug 11, 2021 at 02:37 AM ·
heightmaps
How do I script a heightmap?
I am trying to automatically generate grass for my game. I found code online that uses a heightmap to do so. So far I only have a noise map and a generated mesh. Is there a way to script a heightmap from either a mesh or a texture?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613041513im_/https://answers.unity.com/themes/thub/images/avi.jpg)