Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: jeldrez on May 24, 2013, 11:47:01 AM

Title: NGUI Logo example light effect
Post by: jeldrez 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!
Title: Re: NGUI Logo example light effect
Post by: ArenMook 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.
Title: Re: NGUI Logo example light effect
Post by: jeldrez on May 28, 2013, 11:12:40 AM
Thanks a lot Aren, I was missing enabling the "normals" in the panel.