Search Unity

How to project a player ring on a plane using a projector

Discussion in 'Editor & General Support' started by Johker, Nov 11, 2010.

  1. Johker

    Johker

    Joined:
    Jun 24, 2010
    Posts:
    24
    Hi Guys,

    Pretty much as the topic states, I need help with projecting a player ring on a plane at a characters feet, using a projector? I have tried to use a different material with the blob shadow prefab but that is not working for me. What happens is the material is projected across the whole plane, even after setting the texture's wrap mode to clamp.

    I am trying to create an effect like this:

    http://bakedon.com/unity/projection/
     
  2. Daimon

    Daimon

    Joined:
    Jul 20, 2010
    Posts:
    32
    instead of light i would use a plane parented to the character with a particle shader
     
  3. Johker

    Johker

    Joined:
    Jun 24, 2010
    Posts:
    24
    I was thinking of doing that but I can only see it working if the character stays on a flat surface. Things like ladders and slopes will cause problems, wouldn't it?
     
  4. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    Which shaders are you using for the projector material? The projectors package (available from the asset store under 3.1) contains Projector Light and Projector Multiply shaders that are suitable for the task.
     
  5. Johker

    Johker

    Joined:
    Jun 24, 2010
    Posts:
    24
    Thanks andeeee I will try that first and report back :)