Planetside Software Forums

General => Terragen Discussion => Topic started by: yossam on April 01, 2016, 09:47:08 PM

Title: Lighting
Post by: yossam on April 01, 2016, 09:47:08 PM
I think I already know the answer to this.................is it possible to mask a spotlight?
Title: Re: Lighting
Post by: Hannes on April 01, 2016, 11:14:21 PM
Just a thought: what about putting a plane right in front of the light with an opacity map applied to it?
Title: Re: Lighting
Post by: yossam on April 02, 2016, 12:36:57 AM
Hadn't thought about that............lets see what we get.


Thanks   :)
Title: Re: Lighting
Post by: yossam on April 02, 2016, 01:48:38 AM
It works...........gonna have to fiddle with it some b4 it looks like I want it. Thanks for the idea............... :)
Title: Re: Lighting
Post by: Hannes on April 02, 2016, 08:21:08 AM
Cool! You're welcome.
Title: Re: Lighting
Post by: Mossie on April 04, 2016, 04:15:16 AM
Quote from: Hannes on April 01, 2016, 11:14:21 PM
Just a thought: what about putting a plane right in front of the light with an opacity map applied to it?

That's a good workaround Hannes, I gave it a go and it works pretty good! Thanks.
Title: Re: Lighting
Post by: bobbystahr on April 04, 2016, 10:47:24 AM
For an animation effect you could make the plane huge with many bolts on it and animate a couple of lights moving willy nilly behind it....
Title: Re: Lighting
Post by: Hannes on April 04, 2016, 10:52:44 AM
...or an animated opacity map.
Title: Re: Lighting
Post by: Dune on April 04, 2016, 11:59:12 AM
Yes, cool idea; I guess if you make some lights and a plane with holes under it that moves a bit, you can get 'spotlights' moving around.
Title: Re: Lighting
Post by: bobbystahr on April 04, 2016, 01:31:54 PM
Quote from: Dune on April 04, 2016, 11:59:12 AM
Yes, cool idea; I guess if you make some lights and a plane with holes under it that moves a bit, you can get 'spotlights' moving around.

Yeah that works as well, figured it out on my old Amiga with Imagine3D and had to wait till it ported to pc to try it out, heh heh heh.
Great alien invasion effect as well as the scattered light from lightning flashes. It seems to me Imagine also had an animation F/X that did a flicker on the lights which worked as well...
I'd post an avi I did but it went out the kitchen window in 2010 with the rest of 13 years of my life....