Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: tapgames on December 20, 2012, 02:15:11 PM

Title: Photoshop shadow issue with NGUI
Post by: tapgames on December 20, 2012, 02:15:11 PM
Hi All,

I have some issues getting my shadows right. I have attached an image that shows my issue  :)
Top "New Game" is from photoshop and bottom one is how its displayed in unity ugly gray shadows.

Can I use softshadows? Or is there a trick to this?

Thanks in advance!

Roy

(http://www.tapgames.nl/unity/ngui_shadow.jpg)
Title: Re: Photoshop shadow issue with NGUI
Post by: tapgames on December 20, 2012, 02:46:24 PM
I think I have solved the issue ;)

I had a psd file with no background and no alpha channel.
I made the background black and made an alpha channel for "New Game" with the shadows included.
Now it shows perfect, but is this the correct way?

Cheers,

Roy
Title: Re: Photoshop shadow issue with NGUI
Post by: Nicki on December 20, 2012, 06:00:07 PM
It is a correct way. ;)

Some people recommend the Flaming Pear Solidify script for photoshop which essentially does the same thing, but fills the transparent color with the adjacent color.

Photoshop defaults transparent colors to white for some reason.
Title: Re: Photoshop shadow issue with NGUI
Post by: tapgames on December 21, 2012, 07:49:19 AM
It is a correct way. ;)

Some people recommend the Flaming Pear Solidify script for photoshop which essentially does the same thing, but fills the transparent color with the adjacent color.

Photoshop defaults transparent colors to white for some reason.

Thanks for your answer! :)