Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Decal Projector Problem?

Discussion in 'High Definition Render Pipeline' started by Silvere69, Sep 4, 2023.

  1. Silvere69

    Silvere69

    Joined:
    Jul 12, 2016
    Posts:
    26
    Hello everyone!

    I want to have a crosshair on floor and wall in my game but when i put the crosshair between wall and ground you can see (in the picture) that my crosshaire i incomplete and do something weird... can you help me? i don't know why my projector act like that

    Thank you :)
     

    Attached Files:

  2. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,009
    Projector projects in a direction, this is why it will not project "correctly" on a parallel surfaces as you probably expect.
     
  3. Silvere69

    Silvere69

    Joined:
    Jul 12, 2016
    Posts:
    26
    Oh ok i thought that projector can mix between 2 surface with different angle, thanks!
    And i wonder, is it possible to avoid the bad cut effect like in picture?
     
  4. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,009
    With arbitrary decal projection probably not, I do not know any method to achieve it.
    But maybe you do not need it, what is your use case ?
     
  5. meicexl

    meicexl

    Joined:
    Apr 9, 2020
    Posts:
    11
    Adjust the angle fade option on the decal component.




    There are ways to get it done. This article might be of interest to you.