Small procedural and driven displaced Terrain

Hi,

Here’s some attempts of procedural terrains, and hybrid procedural and texture driven height terrains.https://lh3.googleusercontent.com/ByuB1RdOnSaAfpeV8FySzeIWPF0QyJjwACqI_F1ESEV8Q_w1NmMiAso3L6w7ayndh6ric15c8Cf-1SmIzLNt-odoErQJ-Hzgkuu2ocgnOoQyuAy7zq9r3KNg__ZJGpHqparTVRH29ull1d-3EI6j05T-QhCqQxZBdymJe_QWVVkVP9N0EXS_b2kevu9f4iHJDCSp02-HJK9VQIHFA-DK6_mjVaXbZYdzCJGL1Kfjk_dzzKPiUI6QWBAUmgl2quJaqD4x6WvXnhrPVziRz5gyq0grKm3QPYVCCL9O9P_lkGaTpq1G8cczzuhR-8xRzWtX1L9gaaIU5bOCvzMwDwXhdlYeBTfS3I5WYL9oMogAcrKlkFe6agSAfa7trWDGf-Fy_3LRhtGbwjEIQkA3VqNV3akCHjZ5UuCkY229jXCLMw8oYkUTswfO0gEnnzzY54Rzx_mOwU5ntZxQ9ozv8pTBL_np0zjKDdsim-8n2yvD-y-Cj2pPj9NrcpYX1CKE9V1N4alpt1s3rVINZneXMpVBm5Tr4Tw13BcS_Aw8zfTU3lSLlmR3sZhg5aI1mDpQeLIJW_8jKB4Ju-uIam3wXTweO4CiAmhuM3SIqXuJy8g-adB7dMYFeJz7_KIGpjU6kk_e5Q1vtw0_jP0SCDAzXNj3dMlrw6TVBr3nng=s1343-no

(Click for 5760x5760 picture)

https://youtu.be/9pN_P574hYY

https://youtu.be/L6CsbKiI8RA

https://youtu.be/4MBnHYBqThQ

1 Like

.keep that space.

Added some “terrace” and “voxelise” option.




Very nice! May I ask how did you transform the normal heightmap to the terraced terrain?

Hello,

I just used a simple quantization function on height values.

Thank you! Do you mind sharing a sample .blend file or some details on how to achieve that? I would like to use it in a project

Are you interested about the “terrace” and voxelisation part for the displacement modification ? I did all with OSL, but wanna try to change some stuff with node system (so GPU can be used :slight_smile:

I’m interested in the terrace part. I’m trying to do it manually with poor results. I will take a look at OSL. Using nodes would be interesting!

Yes using OSL is interesting, but it can be used only on CPU side. That’s bad. I’m converting the OSL code to Node system right now, and it seems to work well as gpu is doing it’s job in good way, need some polishing. But i’ll give the necessary ressource after the polishing :slight_smile:

With Cycles default nodes you can do it this way :smile:


2 Likes

Exactly, GG :wink:

Can you use blur with osl ?

Great! Thanks! I guess it will work with EEVEE as well

No , only if you bake the height map and then use it with a displacement modifier , adaptive displacement is not working for the moment with eevee …

Adaptive displacement don’t work with evee

I don’t know, I don’t think it’s possible

1 Like

That would be wonderful! Thanks!

Something seems off with my test setup…
The base mesh is a subdivided plane with a displacement modifier


If I apply the shader this happens

If I remove the displacement modifier (with the real terrain heightmap) I get a set of stairs!

yes this is correct , you need to use the quantize node setup with for example a noise

1 Like

This is amazing! I’m also working on an endless Terrain. This is going to help a lot!!