pageok

  

Stencils:  Real Time Texture Splatting





 


  
15
Add a 2nd UV Texture to material

Note:
This tutorial uses 2 UV textures.  One for the stencil and the other one for the grass and mud textures.

Object selected

Buttons Window menu >> Editing (F9)
Mesh tab
UV Texture:  New
Name:  Stencil_UV
Set Active UV Texture Button enabled

   
16
UV Unwrap game object

Note:
For this tutorial, I'm using Project From View to UV Unwrap the game object.

Game object:   Edit Mode  -- Select all vertices

U key
Select UV Unwrap Method
or
3D View menu >> Mesh >> UV Unwrap
Select UV Unwrap Method

   
17
Map UV Texture to the Stencil

Note:
For this tutorial, the Stencil_UV should be mapped directly to the stencil on a 1 to 1 basis.  No tiling.

Game object:  Edit Mode

UV/Image Editor menu >> Image box
Select image
UV map to image


  




 
pageok