2D Toolkit Forum

2D Toolkit => Support => Topic started by: ENAY on June 22, 2012, 12:04:07 pm

Title: Disabling fog on tk2d sprites only?
Post by: ENAY on June 22, 2012, 12:04:07 pm
Ok, so we have just added Unity fog into our game, unfortunately the tk2d sprites are also being fogged off. Is there anyway to turn this off and keep them all full brightness without the fog?
Title: Re: Disabling fog on tk2d sprites only?
Post by: unikronsoftware on June 22, 2012, 12:44:27 pm
Hi,

You can turn off fog in the shaders - enter the line

Fog { Mode Off }
after
Lighting Off

in the shaders
Title: Re: Disabling fog on tk2d sprites only?
Post by: ENAY on June 22, 2012, 01:07:40 pm
Ok, thanks for that. I will give it a try.