How do I procedurally generate landscape?
I'm looking to create a landscape that randomly generates height map information on each play / level load, so everytime it looks like a new landscape. I was thinking there was some way of using a material to do this effect but come to a dead end as I can't seem to affect the landscape height information within a material. Does anyone have any suggestions on how to make this work?
I'm thinking of creating my own static mesh plane and using displacement to create the same effect. The landscape doesn't have to be highly detailed and will be very small, like a long 4 x 8 strip.
I'm afraid this isn't possible at the moment. The editor builds collision data structures and tangent data as you import or paint it, and there isn't an easy way to call that at runtime. We do have a feature request open to allow modification of the landscape at runtime.
Given the size of the effect you're after, I think using a WorldPositionOffset input to a suitably-tessellated StaticMesh would probably work, but that wouldn't have any collision.
answered May 16 '14 at 12:58 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here