From BlenderWiki
Tutorial
Time to texture your objects, no better way to do it than going Real Time! Thanks to GLSL, now you can mix textures and materials, use stencils or different diffuse/specular shaders, whatever! This video explains how to mix a ground texture with grass, using a stencil map.
See also
http://www.yofrankie.org/tutorial-texture-splatting/