Jump to content
  • Advertisement
Sign in to follow this  
Hiyar

Procedural terrain texturing

This topic is 3302 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using low frequency textures for distant terrain parts in order to remove the tiling artifacts. And do texturing mostly based on procedural parameters(height, slope etc). But I think this is not enough to give variation. Because it is just lowfrequency texture. I'm wondering if there are more procedural techniuqes to create more variation for distant terrain texturing.

Share this post


Link to post
Share on other sites
Advertisement
Say your heightfunctions are in the form h=f(x,y), then you could add perturbation: h=f(u(x), v(y)), with u and v being your perturbation functions.

If you are interested, I have posted a complete reference of intrinsics supported by picogen 0.2: examples, reference. It is out of date as I am rewritting picogen from scratch at the moment. See my signature for picogen.

Share this post


Link to post
Share on other sites
Okay thanks,

I need more ideas for procedural texturing. I need to do this in the shader by using height, slope and terrain normal.

Share this post


Link to post
Share on other sites
Well I was using height, slope and curvature for texturing but of course it was not enough. I reckon that considering only the elevation data alone will not be sufficient ever.
Now I'm computing two other independent fractal channels in parallel with the height data, that are used for the texturing and other things like horizontal displacement.

Those screens do not show the final look though - currently there are just 4 textures mixed and only the slope, curvature and the two fractal values are used for it.
But I'm going to use additional data roughly describing the ecotype (containing several materials) that are then combined and selected using the fractal mixer.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!