Frictional Games Forum (read-only)
[LVL ED] How to make good pointlights ? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [LVL ED] How to make good pointlights ? (/thread-20154.html)

Pages: 1 2


How to make good pointlights ? - No Author - 02-03-2013

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


RE: How to make good pointlights ? - PutraenusAlivius - 02-03-2013

(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.


RE: How to make good pointlights ? - No Author - 02-03-2013

(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 ?


RE: How to make good pointlights ? - Adny - 02-03-2013

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.


RE: How to make good pointlights ? - No Author - 02-03-2013

(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 ?


RE: How to make good pointlights ? - Adny - 02-03-2013

(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.


RE: How to make good pointlights ? - NaxEla - 02-03-2013

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.


RE: How to make good pointlights ? - No Author - 02-03-2013

(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 ?


RE: How to make good pointlights ? - NaxEla - 02-03-2013

(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.


RE: How to make good pointlights ? - No Author - 02-03-2013

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