joshcamas Posted October 3, 2018 Share Posted October 3, 2018 Hello friends I am visiting Babylon once again for a lil bit, and have an issue. Seems like no matter what I do, the function VertexData.CreateGroundFromHeightMap always returns an empty vertex data. The documentation is sort of unclear of what the buffer input is supposed to be - it says " buffer the array holding the image color data ", which sounds like it could be an array of rgba's, (sort of like canvas image data), but it also could mean rgb... but honestly both of those sound very strange, since a heightmap is greyscale, so it would make sense if it was simply an array of heights... but I'm assuming not since it says "image color data". How does this work? Thanks! Josh Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.