Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(SOLVED) Fade IN a PointLight?
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#10
RE: Fade IN a PointLight?

(01-01-2012, 01:12 PM)Khyrpa Wrote:
(01-01-2012, 01:04 PM)Shadowfied Wrote: I have a Point light in the map, I want it to fade in as the player enters a script area, I used SetLightVisible to disable it in void OnStart(). But when I enter the script area it still appears immediately but I want it to fade in so that you can see that it's going from dark to bright.
nononono....
If you dont want the player to see the the point light just set the color values to 0. There is no point using setlight visible when you can just tone the value to 0.
Thanks, it works now. I put it at 0,0,0,0 in the editor and used the same script and now it fades in smoothly.

Thanks again.

01-01-2012, 09:04 PM
Find


Messages In This Thread
(SOLVED) Fade IN a PointLight? - by Shadowfied - 12-31-2011, 11:55 AM
RE: Fade IN a PointLight? - by Statyk - 12-31-2011, 03:28 PM
RE: Fade IN a PointLight? - by Your Computer - 12-31-2011, 07:50 PM
RE: Fade IN a PointLight? - by Shadowfied - 12-31-2011, 07:55 PM
RE: Fade IN a PointLight? - by Your Computer - 12-31-2011, 08:32 PM
RE: Fade IN a PointLight? - by Shadowfied - 01-01-2012, 12:06 PM
RE: Fade IN a PointLight? - by Khyrpa - 01-01-2012, 01:00 PM
RE: Fade IN a PointLight? - by Shadowfied - 01-01-2012, 01:04 PM
RE: Fade IN a PointLight? - by Khyrpa - 01-01-2012, 01:12 PM
RE: Fade IN a PointLight? - by Shadowfied - 01-01-2012, 09:04 PM



Users browsing this thread: 2 Guest(s)