Advertisement Jump to content
Sign in to follow this  

Texturing procedural terrain

This topic is 1810 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

Hi there,


I have an application I am developing at the moment that streams in a large amount of procedural terrain tiles. I'm looking for a good way to texture these tiles using a procedural texturing algorithm.


The algorithm is not really the problem here, It's how to store the generated texture data (or perhaps just perform this stage in the shader). The way I see it is that if I perform the texturing in the shader the texturing will suffer from aliasing and the performance will generally degrade with the more detail / complexity you add to the shader.


The solution I have at the moment is to generate a texture per tile and let the procedural algorithm fill this texture in before passing it to a very basic shader that will just map the texture directly onto the terrain tile. This also allows me to generate mipmaps and avoid the majority of aliasing issues.


The problem with this approach is that the texture is extremely low resolution and very noticable. I was just wondering if anyone has found any practicle solutions to the same type of problem as this.





Share this post

Link to post
Share on other sites

use a biome kind of classification for your sections, then use proper texturing of soil depending on biome (you can have a perlin funcion to blend 2 or 3 textures per biome), and apply some effects for texturing slopes with rocks or such, should look nice.

Share this post

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

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!