Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Nacho on October 15, 2012, 11:56:14 AM

Title: Overlaying panels doing a per-pixel multiplication
Post by: Nacho on October 15, 2012, 11:56:14 AM
Hi! I'm making a strategy game and the UI artist has envisioned this set of screens where new panels are overlaid on top of existing ones. While preparing the mock screens in Photoshop he multiplied the different panels layers on a per-pixel basis in order to achieve a blending effect. Is there any way to achieve that same effect using NGUI?

Thanks in advance for your help!

--Nacho
Title: Re: Overlaying panels doing a per-pixel multiplication
Post by: ArenMook on October 15, 2012, 12:28:02 PM
Depends on the effect. Windows Aero style -- no. Not without a sophisticated shader that will have you draw your background using a separate atlas from the rest of your UI, complicating everything. Simple transparent blending? Sure, just make the top panel semi-transparent by setting its widgets alpha to something below 1.
Title: Re: Overlaying panels doing a per-pixel multiplication
Post by: Nacho on October 15, 2012, 04:18:51 PM
Thank you for your prompt reply Aren! I'll stick to the simple solution for the moment.

Cheers,

--Nacho