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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Lit Particles Shader for HDRP

Discussion in 'Shader Graph' started by Sergio_SQ, Jun 16, 2020.

  1. Sergio_SQ

    Sergio_SQ

    Joined:
    Jun 11, 2020
    Posts:
    7
    HI, I Have a shader that render particles and they are lit by light sources but I can only see them if the camera is placed in the same direction the light comes.
    How can I do to see the lit particle wherever the light source comes? Like the particle is completely translucent.

    Thanks.

    upload_2020-6-16_11-32-42.png
    upload_2020-6-16_11-33-6.png
     

    Attached Files:

  2. Sergio_SQ

    Sergio_SQ

    Joined:
    Jun 11, 2020
    Posts:
    7
    I managed to get the expected result.
    The key was to use a Translccent material output and a proper disperssión profile for it.
     
    florianhanke likes this.