GPU based terrain texturing

Hi,

I’m trying to find some resources/examples/shaders describing how to implement GPU based terrain texturing, i.e. I want to texture terrain procedurally, like put grass, rock and snow on terrain based on slope and altitude.

I’m having problem finding any good resources that would have nice resulting look. Maybe someone here has some pointers?

Thanks,
Paulius

RTP has some slope based stuff, and if I recall there’s some talk about it in witcher 3 terrain slides for GDC.

Thanks man, much appreciated.