Jump to content
Sign in to follow this  

heightfield vertical noise

Recommended Posts

hi guys,i encounter a trouble about heightfield,i want to add detail on the verticle side of the cliff,i plug a mask and noise but it do not effect the cliff.attatch the file hip and screen shot  below.

may you kind would give some tips.





Share this post

Link to post
Share on other sites

Hello Mic,

It is not possible ,at least with heightmaps, because is basically a 2D image and you simply have no space to represent your Z data into the map.

If you look at your terrain from above, that will become obvious.



This is very interesting problem I also try to investigate, with no easy solution up to now:(

One of the options , is to convert your heightfield to a mesh and continue from there , having full 3D space for your shapes , effectively loosing the optimisations and performance of the heightmap algorythms.

The second way , is to make the correction at the shader level, that includes some tricks with blending UVs and triplanar projections. Also, this method can't be used in cases when any sort of physics body involved (If, for exaple, you want to simulate body collisions with those cliffs).

It very depends on the final purpose result you want to acheive. I would suggest to avoid such sharp surfaces and make it less steep, unless you want to dive deep into some cumbersome solutions.

There are a few links I found on the topics that might be useful.





Let me know how did you solve your problem, I am a bit curious :)




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this