In need of a little help on Texture Painting via 3d View

What’s up guys? I need some help on texture painting via the 3d view. I can’t paint via UV Editor because I use tiled textures (512x512 repeating images) to texture my mesh which is a terrain.

How do I use the texture paint mode? I read the Blender manual but I didn’t find it useful.

set up a material that has a blank image to paint(write) to, and then unwrap your mesh to use that texture image. After, switch to Texture paint mode and you can paint with the paint tools in the Tool panel. Load images as brushes in the Properties Texture tab under brushes, and then you can choose inthe Tool panel whether to use view plane, tiled, or Stencil with your brush.