Search Unity

Projectors, Decals, ......

Discussion in 'Scripting' started by Johan D, Mar 21, 2012.

  1. Johan D

    Johan D

    Joined:
    Feb 12, 2012
    Posts:
    13
    Hello,

    I'm creating a tactic rpg and i want to draw textures over the terrain (only where i can walk), but using projectors are very expensive because it redraw the mesh lots of times. There is a way to specify when to make a draw call (I want to draw the mesh after the last projector affected the mesh)? Or should i forget the projectors and go play with the meshes?;



    Each red square is drawn by a projector(Ubber slow). The actual terrain has 512 triangles and with the projectors it has 51.7k triangles;

    Obs: The terrain isn't flat and its just a test.
     
    Last edited: Mar 21, 2012
  2. Johan D

    Johan D

    Joined:
    Feb 12, 2012
    Posts:
    13
    Bump

    no idea?