Sector lightning vs point lights

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Sector lightning vs point lights

Postby arachnotron » Tue Sep 26, 2017 6:43 pm

What do you think makes maps look better? I love drawing shadows with sectors but I sometimes have trouble combining drawn shadows with point lights. How to combine both in a good way?
arachnotron
 
Joined: 16 Sep 2017

Re: Sector lightning vs point lights

Postby jdagenet » Tue Sep 26, 2017 10:56 pm

Both are completely different things, it’d be hard to try and find the middle ground.

Sector lighting is still very much old school and 2d while dynamic lights offers the sense of creating a real 3d environment.
It all depends on what you’re wanting you area to feel and play like honestly. If you’re going for that Tormentor style atmosphere then yeah you’d want to rely heavily on dynamic lights over sector lighting.
jdagenet
 
Joined: 09 Aug 2011

Re: Sector lightning vs point lights

Postby arachnotron » Wed Sep 27, 2017 12:50 pm

jdagenet wrote:Both are completely different things, it’d be hard to try and find the middle ground.

Sector lighting is still very much old school and 2d while dynamic lights offers the sense of creating a real 3d environment.
It all depends on what you’re wanting you area to feel and play like honestly. If you’re going for that Tormentor style atmosphere then yeah you’d want to rely heavily on dynamic lights over sector lighting.


Point lights don't create shadows unless you enable this option:

viewtopic.php?f=4&t=57900

The problem is, it's not enabled on by default, so I don't want to design a map that would need for people to manually turn an option on, which forces me to craft the shadows by hand with sectors to guarantee the experience is as intended.. (for example you may need a corridor to have a nice shadow that's projected by a wall, kind of like in E1M2 in Doom which by the way is the earliest use of this I can recall). If you put a dynamic light thing on there and enable that option, it casts a nice shadow all by itself, but if it's disabled, you have to draw it with sectors and add a bunch of lines to smooth it out a bit (and no amount of sector shadowing will look as good as accurately math calculated shadows)
arachnotron
 
Joined: 16 Sep 2017

Re: Sector lightning vs point lights

Postby Kappes Buur » Wed Sep 27, 2017 11:46 pm

If the shadows are to be thrown by singlesided linedefs,
then you also have an option to use the Lighting plugin by boris.

Spoiler:
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia

Re: Sector lightning vs point lights

Postby arachnotron » Thu Sep 28, 2017 10:42 am

Kappes Buur wrote:If the shadows are to be thrown by singlesided linedefs,
then you also have an option to use the Lighting plugin by boris.

Spoiler:


That looks neat if it does what I think it does. Can you give me the official download link?
arachnotron
 
Joined: 16 Sep 2017

Re: Sector lightning vs point lights

Postby Kappes Buur » Thu Sep 28, 2017 1:08 pm

User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia

Re: Sector lightning vs point lights

Postby arachnotron » Fri Sep 29, 2017 11:52 am


That looks indeed neat, but I don't know how to compile the code from the github. Is there any tutorial in to compile this? im not a coder.

Also, does this recognize 3d floors? for example, if you use this inside the house that I uploaded for the swinging door example that has a 3d ceiling, will the plugin be able to tell that the shadows must be casted properly inside the house?
arachnotron
 
Joined: 16 Sep 2017

Re: Sector lightning vs point lights

Postby Cherno » Fri Sep 29, 2017 7:25 pm

Sector lighting looks good when the light comes directly from above and you can simply brighten the sector under a skylight or hole in the roof/cave ceiling, for example. It also works well when the light comes in horizontally in a room that has a relatively low ceiling. Beyond those situations, it becomes difficult or impossible to simulate accurate shadows and lighting because the light would throw a shadow at an angle which could only be done via slopes and/or 3d floors which is very cumbersome. Sector lighting can also become difficult to do in very complex environments where you have to split lots of lines just to show the lights and shadows, shich can make later editing or textures, height levels and sector/line tags and actions specials hard.
User avatar
Cherno
 
Joined: 06 Dec 2016


Return to Editing (Archive)

Who is online

Users browsing this forum: Google [Bot] and 2 guests