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
Level Editor Help How to make good pointlights ?
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#1
How to make good pointlights ?

So yeah, I've seen some people having trouble using pointlights including myself. Especially darkness.
How do I make natural darkness ? (Not pitchblack darkness)

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-03-2013, 05:48 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: How to make good pointlights ?

(02-03-2013, 05:48 AM)No Author Wrote: So yeah, I've seen some people having trouble using pointlights including myself. Especially darkness.
How do I make natural darkness ? (Not pitchblack darkness)
you don't use a pointlight to make darkness. You make darkness natural using a boxlight.

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-03-2013, 05:58 AM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#3
RE: How to make good pointlights ?

(02-03-2013, 05:58 AM)JustAnotherPlayer Wrote:
(02-03-2013, 05:48 AM)No Author Wrote: So yeah, I've seen some people having trouble using pointlights including myself. Especially darkness.
How do I make natural darkness ? (Not pitchblack darkness)
you don't use a pointlight to make darkness. You make darkness natural using a boxlight.

But some maps use pointlight for darkness.

What RGB should I use for darkness ?

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-03-2013, 06:01 AM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#4
RE: How to make good pointlights ?

A dark pointlight (0,0,0,0) is pretty much useless. I have no clue why they're spammed throughout FG's prison levels. You can however, "diffuse" light intensity/color to make it look much more realistic and natural.

For example:

You have a hole in a ceiling. For simplicity's sake, lets assume its creating a yellowish/brownish light. You can have one pointlight directly under the light source. Because of its location, it will have the highest intensity and color definition. It could be colored to a light brown (0.5,0.4,0.3,0).

But, it looks strange having just that one light then darkness all around it. You can add additional point lights around the edge, with a darker brown color (0.3, 0.2, 0.1, 0). Finally, you can add one last color of point light (again around the edge), an even darker brown (0.2, 0.1, 0, 0).

Try something like that. Idk.

I rate it 3 memes.
02-03-2013, 06:21 AM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#5
RE: How to make good pointlights ?

(02-03-2013, 06:21 AM)andyrockin123 Wrote: A dark pointlight (0,0,0,0) is pretty much useless. I have no clue why they're spammed throughout FG's prison levels.

Maybe to make it darker, perhaps ?

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-03-2013, 06:28 AM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#6
RE: How to make good pointlights ?

(02-03-2013, 06:28 AM)No Author Wrote: Maybe to make it darker, perhaps ?

Again, that's not how the lighting works. 0,0,0 is the minimum value (pitch black). My guess is that the area was originally going to be brighter, but it was changed later in development.

I rate it 3 memes.
02-03-2013, 06:32 AM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#7
RE: How to make good pointlights ?

I'm pretty sure the torches on the wall are connected to the black pointlights, so that when the player lights up the torch with a tinderbox, the pointlight will become a bit brighter and a bit brown/orange-ish. It makes the lighting look a lot better.

In Ruins [WIP]
02-03-2013, 06:39 AM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#8
RE: How to make good pointlights ?

(02-03-2013, 06:39 AM)NaxEla Wrote: I'm pretty sure the torches on the wall are connected to the black pointlights, so that when the player lights up the torch with a tinderbox, the pointlight will become a bit brighter and a bit brown/orange-ish. It makes the lighting look a lot better.

Does that have to use script ?

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-03-2013, 06:43 AM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#9
RE: How to make good pointlights ?

(02-03-2013, 06:43 AM)No Author Wrote:
(02-03-2013, 06:39 AM)NaxEla Wrote: I'm pretty sure the torches on the wall are connected to the black pointlights, so that when the player lights up the torch with a tinderbox, the pointlight will become a bit brighter and a bit brown/orange-ish. It makes the lighting look a lot better.

Does that have to use script ?

Nope. In the properties for a lamp entity, you can add a ConnectedLight. The light will increase/decrease in colour as the lamp is turned on/off.

In Ruins [WIP]
02-03-2013, 06:49 AM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#10
RE: How to make good pointlights ?

Thanks for the reply. I'll try it when I'm level editing.

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-03-2013, 07:01 AM
Find




Users browsing this thread: 1 Guest(s)