Originally Posted By: Random
What did you use to create your terrain?

As Epsilon said, I used a combination of the heightmaps I've posted the last days.

1. Combine a Perlin Noise Heightmap of 2/3 with a Voronoi Heightmap of 1/3
2. Use the Perturbation Filter over the combined heightmap.
3. Run the Hydralic Erosion Script over the heightmap.
4. Blur it a litte bit (had no script yet for this, made this in Photoshop)

Originally Posted By: Superku
Just thought about it and tested it, you can replace the vec_to_angle code with rotation_tilt = -asinv(n.z); which gives you the very same angle as with your current code but more elegant and much faster.

Thank you for testing. Changed the code above laugh

Originally Posted By: sivan
you can find 1-2 triplanar texturing source in the forum. as I remember a shader contest winner applied multitexturing triplanar texturing to simulate a bacterium, but not 100% sure.
I have a simple triplanar texturing shader I don't remember who made it (I want to add it shadowmapping to use it for rocks and cliffs)

Thanks for posting the code.