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.