Author Topic: NGUI Logo example light effect  (Read 5084 times)

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
NGUI Logo example light effect
« on: May 24, 2013, 11:47:01 AM »
Hi Aren,
This is a request to how to implement the point light effect to reflective (shader) atlas. (Example 6)


I just made an special Atlas with his material as Transparent/Refractive, I create their Normal Map (and change texture map to Normal map) and didn't use the Specularity, Shininess, Refraction slot. The rest of the material it's per default.


I created an scene with assets from this atlas and put a directional light to illuminate the assets and the point light to do shinny effect. But the textures it's almost black. It's all in the same layer.


What I'm missing?


Thanks in advance!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI Logo example light effect
« Reply #1 on: May 24, 2013, 05:39:11 PM »
The refractive shader is meant to work with the additional channels (spec, shininess, refraction), and you must enable the "normals" option on the panel.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: NGUI Logo example light effect
« Reply #2 on: May 28, 2013, 11:12:40 AM »
Thanks a lot Aren, I was missing enabling the "normals" in the panel.