Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How to use light in ui element(image, text...)?

Discussion in '2D' started by atk_defender, Nov 29, 2019.

  1. atk_defender


    Jun 26, 2018
    I want to make a 2d game that the player can tap every picture.
    The pictures can be spriteRenders or images on the canvas.
    Since the picture must be tap, the spriteRender is out.

    I know sprite's material set to Sprite-Diffuse, then the sprite can be light.
    But it seems it doesn't work on the canvas's stuff (image, text...).

    I try LWRP too, but it lows the FPS 60→45.
    And LWRP's point light always got a dark line on the radius.

    I don't know how touse light in ui now.
    Please help : D