Hello Guest

Author Topic: Disabling fog on tk2d sprites only?  (Read 4320 times)

ENAY

  • Newbie
  • *
  • Posts: 17
    • View Profile
Disabling fog on tk2d sprites only?
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Disabling fog on tk2d sprites only?
« Reply #1 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

ENAY

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Disabling fog on tk2d sprites only?
« Reply #2 on: June 22, 2012, 01:07:40 pm »
Ok, thanks for that. I will give it a try.