Author Topic: LightPoint  (Read 2515 times)

mimmog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
LightPoint
« on: January 05, 2015, 11:59:30 AM »
How can add one point light over a NGUI Texture into 2d menu ?
« Last Edit: January 05, 2015, 05:41:19 PM by mimmog »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: LightPoint
« Reply #1 on: January 06, 2015, 10:49:52 AM »
You need to enable normals on the UIPanel handling the widgets and use a different shader for the widgets (can't be Unlit). NGUI has examples that use a lit shader (refractive).