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 Boxlights
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#1
Boxlights

Could someone explain to me these things:

1. The purpose of a boxlight.
2. Where a boxlight is used appropriately
3. How a boxlight would be used appropriately
4. And what would be notable colours to focus on in certain rooms.

Its my understanding that they would be used to light an area with a consistant tone of some sort based on the diffuse color, similar to fog, but rather used to keep an area lit. All my time in mapping I have used either pointlights or spotlights, but had never understood proper boxlighting.

I'm always generous with my posts so, +rep (if I cannot straight away, its coz of the fact you cannot do it many times in one day) to anybody who helps out Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
04-21-2013, 02:49 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: Boxlights

1) The purpose is to light up an entire level. If it's night, have the boxlight to be faint blue.
2) Any where.
3) See 1)
4) Depends. But make it faint. If it's blue then faint blue and so on.

"Veni, vidi, vici."
"I came, I saw, I conquered."
04-21-2013, 03:01 AM
Find
CarnivorousJelly Offline
Posting Freak

Posts: 1,196
Threads: 41
Joined: Dec 2012
Reputation: 80
#3
RE: Boxlights

(04-21-2013, 02:49 AM)ROMul8r Wrote: Could someone explain to me these things:

1. The purpose of a boxlight.

Give the entire area a base ambient light so that you don't leave black-holes-of-darkness all over your map from pointlight abuse.

(04-21-2013, 02:49 AM)ROMul8r Wrote: 2. Where a boxlight is used appropriately
Pretty much every map you'll ever make. A better question would be "where would a boxlight be inappropriate?" - I still don't have an answer to that because I always use a boxlight on my maps.

(04-21-2013, 02:49 AM)ROMul8r Wrote: 3. How a boxlight would be used appropriately
Make it just slightly larger than the entire map you've created then change the colour so it matches the rest of the lights on your map but is about 10-15% as bright as the brightest one (window/candle/fire/ bright spotlight). In other words, if your brightest light is pure white (1.000 1.000 1.000), then your boxlight would be between (0.1, 0.1, 0.1) and (0.15, 0.15, 0.15)

(04-21-2013, 02:49 AM)ROMul8r Wrote: 4. And what would be notable colours to focus on in certain rooms.
Nice question! I love it when you guys ask good questions like this Big Grin
Basically, it depends on the source of your light:
External light from sun/moon - blue for night/dawn/dusk/sunrise/sunset and yellow-white for daytime
Open Flames - Try a reddish brown. You don't want it to be too red or the walls will look like they're covered in blood. If it seems to red for you, bring the green slider closer to the red slider and it'll yellow out a bit.
Any sort of atmospheric attempts - I've used dim, purple-grey boxlights before with cream-coloured lighting because it made a room look really cool (I was going for a dawn simulation but I liked the purple too much); sewers/overgrown areas tend to be green to yellow-grey; dreams sequences tend to use white lighting (pure grey boxlight) with white fog.

Thanks for asking about boxlights - a lot of beginning mappers mistakenly believe that boxlights serve no purpose and leave them out, causing their maps to be completely black with little islands of lights where they threw in pointlights or windows. There's a really awesome tutorial for lighting already on the wiki (http://wiki.frictionalgames.com/hpl2/tut...tutorial_2 ), but if you have any other questions, you can ask me Smile

[Image: quote_by_rueppells_fox-d9ciupp.png]
(This post was last modified: 04-21-2013, 05:41 AM by CarnivorousJelly.)
04-21-2013, 05:31 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#4
RE: Boxlights

(04-21-2013, 03:01 AM)JustAnotherPlayer Wrote: 1) The purpose is to light up an entire level. If it's night, have the boxlight to be faint blue.
2) Any where.
3) See 1)
4) Depends. But make it faint. If it's blue then faint blue and so on.
Ahh nice and straightforward. +rep

(04-21-2013, 05:31 AM)Kiandra Wrote: Nice question! I love it when you guys ask good questions like this Big Grin
Spoiler below!

[Image: Happy-oh-stop-it-you-l_large.png]

Thanks for that tutorial link and your information Smile When I first used a boxlight, I just let it fill one whole room @ 1.0, 1.0, 1.0 and it made my map look pretty poor to say the very least. That put me off boxlights for two reasons:

1. I didn't want my maps to look poor, but I would think that if I knew how to use them properly, I could perhaps make something better than just many lights on the ground with dark patches in the corner.
2. When i looked through the Amnesia maps which FG had designed, I did not see many boxlights, rather just many pointlights every once in a while.

I'll be sure to start experimenting now. I wont be able to note too many differences as the entire story is in grayscale, but im sure it would at least look a little more lovely and appealing.
Thanks again for the input. +rep Big Grin


(04-21-2013, 05:31 AM)Kiandra Wrote: but if you have any other questions, you can ask me

I MAY pm some screenshots or stuff later if needed. I've made myself a couple of maps, so I'm not an amateur, but I could always use some help if I ever need it. After seeing some of your screenshots on the criticism thread, I'm sure you would be most helpful :3

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 04-21-2013, 06:08 AM by Romulator.)
04-21-2013, 05:51 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: Boxlights

Useful tip.

Instead of having many boxlights, I usually only have a single one in each map.
Make it very low, like 0.05 / 0.05 / 0.05
Change the colors of what you like, but keep it under 1.0 except your know what you're doing.

There shouldn't be as many boxlights as Pointlights in your map. That's why FG didn't have them either.
Pointlights are good for details, while Boxlights does the general lighting.

Trying is the first step to success.
04-21-2013, 04:04 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#6
RE: Boxlights

(04-21-2013, 04:04 PM)BeeKayK Wrote: Useful tip.

Instead of having many boxlights, I usually only have a single one in each map.
Make it very low, like 0.05 / 0.05 / 0.05
Change the colors of what you like, but keep it under 1.0 except your know what you're doing.

There shouldn't be as many boxlights as Pointlights in your map. That's why FG didn't have them either.
Pointlights are good for details, while Boxlights does the general lighting.
Well, after some rigorous testing and comparison, you only notice the difference between the boxlight when you go from one to another when you're making a grayscale CS. Otherwise, the general wall looks the same unless the room is a pure white Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
04-22-2013, 07:29 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#7
RE: Boxlights

If your room is pure white, maybe turn down the boxlight a little bit? Smile

Trying is the first step to success.
04-22-2013, 08:54 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#8
RE: Boxlights

(04-22-2013, 08:54 AM)BeeKayK Wrote: If your room is pure white, maybe turn down the boxlight a little bit? Smile

Well, it isn't pure white Smile Its like 0.325, 0.365, 0.822, 0.222.
But in Grayscale, it doesnt look much different to a normal 0.5, 0.5, 0.5, 1.0

xD

Discord: Romulator#0001
[Image: 3f6f01a904.png]
04-22-2013, 08:58 AM
Find
TheGreatCthulhu Offline
Member

Posts: 213
Threads: 10
Joined: Oct 2010
Reputation: 32
#9
RE: Boxlights

That's because, when converted to grayscale (ignoring the alpha), you get (0.325 + 0.365 + 0.822)/3 = 0.504 for each color component - which is almost exactly the same as 0.5, 0.5, 0.5.
04-22-2013, 10:13 AM
Find




Users browsing this thread: 1 Guest(s)