Search Unity

Question Get the point light information inside shader graph?

Discussion in 'Shader Graph' started by minte131, Oct 4, 2022.

  1. minte131

    minte131

    Joined:
    May 11, 2019
    Posts:
    5
    Hi guy,
    I am working on a custom lighting which needs the information from the point light and the other lights. I followed a tut from youtube, they used the lightning.cginc for the mainlight().direction. I don't how to apply to point light.
    Thank you