New answers tagged

-1

I ended up using Physics.linecast from the _charface.transform.position to the intersect point.


0

One way to accomplish this is to use the shader to render something like light map. So you create a grayscale image which can then be used in other shaders as an mask. Moreover this way you can enhance the light effect by applying some blur or other filters.



Top 50 recent answers are included