[bzr] Light shines through doors
#33
Quote:Well if no one would care too much about doors I'd have a solution that would not take THAT much additional performance but could very well improve the lighting.

Like this before/after shot shows:
http://www.dxx-rebirth.com/tmp/comp.png

Please don't mess with the lighting. Or at least make every change you make optional. The original shot in your comparison looks much more 'realistic' than the second. Why ist that? Quite simple: in the real world there isn't just direct light from light sources but also secondary lighting which bounces between lit objects (in this case from wall to wall). In the situation pictured in your comparison that means that any light in the room below would indeed create an effect that is more or less similar to the simple vertex lighting without visiblitiy checks. May seem a bit strange at first thought, but believe me, it's the truth. I'm working as a 3d-artist for over 10 years, that is a topic I know very, very well.

To get really 'realistic' lighting you would have to do two calculation passes (plus shadows if you want it all). The first one, more ore less looking like your second image. The direct light. And a second one, the indirect light (often called Global Illumination or short GI). There are several algorithms for that, but all of them are very demanding computationally and apart from some pretty new, but still heavy, GPU based algorithms not really suited for real time lighting.

As long as you don't plan to compute these secondary lighting effects or place extra lights in the levels which simulate secondary effects, which is the normal way to do this without GI, the current vertex lighting will look better in most situations (the closed doors problem aside). Trust me. Especially considering the fact that all light sources were set by the level desigers to fit exactly that vertex lighting scheme.

Btw.: That's one of the problems with d2x-xl's advanced lighting. As good as d2x-xl's lightmaps sound theoretically, they really don't work well in many cases (i.e. large rooms are often way too dark, way too harsh shadows in many places etc.). Simply because the levels were built with another lighting scheme in mind and the lightmap calculation suffers from the same fundamental flaw your sample picture does: no secondary lighting.

So in a nutshell: By trying to fix the shortcomigs of Descents lighting you will definitely create at least as many problems as you will solve as long as you don't consider global illumination. And even then there will most likely be places that will look strange.


Reply


Messages In This Thread
[bzr] Light shines through doors - by tryone - 05-05-2011, 04:51 PM
RE: Light shines through doors - by Ryusei117 - 05-05-2011, 05:01 PM
RE: Light shines through doors - by tryone - 05-06-2011, 01:24 PM
RE: Light shines through doors - by Ryusei117 - 05-06-2011, 08:57 PM
RE: Light shines through doors - by Hawkins - 05-06-2011, 09:02 PM
RE: Light shines through doors - by Ryusei117 - 05-06-2011, 09:29 PM
RE: Light shines through doors - by Ryusei117 - 05-06-2011, 09:58 PM
RE: [bzr] Light shines through doors - by tryone - 05-07-2011, 10:53 AM
RE: [bzr] Light shines through doors - by tryone - 05-31-2011, 07:04 PM
RE: [bzr] Light shines through doors - by Hawkins - 05-31-2011, 08:11 PM
RE: [bzr] Light shines through doors - by tryone - 06-13-2011, 02:25 PM
RE: [bzr] Light shines through doors - by Hawkins - 06-16-2011, 07:13 AM
RE: [bzr] Light shines through doors - by Hawkins - 06-16-2011, 09:27 PM
RE: [bzr] Light shines through doors - by Descenteer - 06-23-2011, 09:56 AM
RE: [bzr] Light shines through doors - by Hawkins - 06-23-2011, 01:14 PM
RE: [bzr] Light shines through doors - by Hawkins - 06-23-2011, 01:20 PM
RE: [bzr] Light shines through doors - by Hawkins - 06-23-2011, 04:56 PM
Re: [bzr] Light shines through doors - by zico - 07-07-2011, 09:06 AM
Re: [bzr] Light shines through doors - by Hawkins - 07-07-2011, 10:10 AM
Re: [bzr] Light shines through doors - by zico - 07-07-2011, 10:11 AM
Re: [bzr] Light shines through doors - by lloyd - 05-30-2012, 09:48 PM
Re: [bzr] Light shines through doors - by zico - 05-30-2012, 09:58 PM
Re: [bzr] Light shines through doors - by lloyd - 05-30-2012, 11:50 PM
Re: [bzr] Light shines through doors - by zico - 05-31-2012, 08:59 AM
Re: [bzr] Light shines through doors - by lloyd - 05-31-2012, 05:31 PM
Re: [bzr] Light shines through doors - by zico - 05-31-2012, 06:53 PM
Re: [bzr] Light shines through doors - by lloyd - 05-31-2012, 07:22 PM
Re: [bzr] Light shines through doors - by Hawkins - 06-01-2012, 03:02 AM
Re: [bzr] Light shines through doors - by lloyd - 06-02-2012, 01:03 AM
RE: Light shines through doors - by zico - 05-05-2011, 06:06 PM
RE: Light shines through doors - by zico - 05-06-2011, 01:49 PM
RE: Light shines through doors - by zico - 05-06-2011, 09:36 PM
RE: [bzr] Light shines through doors - by zico - 06-01-2011, 02:40 PM
RE: [bzr] Light shines through doors - by Zealot - 06-06-2011, 08:32 PM
RE: [bzr] Light shines through doors - by zico - 06-06-2011, 08:45 PM
RE: [bzr] Light shines through doors - by Zealot - 06-07-2011, 06:00 AM
RE: [bzr] Light shines through doors - by zico - 06-07-2011, 07:52 AM
RE: [bzr] Light shines through doors - by Zealot - 06-07-2011, 09:44 AM
RE: [bzr] Light shines through doors - by zico - 06-07-2011, 09:59 AM
RE: [bzr] Light shines through doors - by zico - 06-16-2011, 06:58 AM
RE: [bzr] Light shines through doors - by zico - 06-16-2011, 07:20 AM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 10:10 AM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 10:39 AM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 11:05 AM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 12:22 PM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 12:42 PM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 01:12 PM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 01:25 PM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 01:45 PM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 02:07 PM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 02:45 PM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 04:59 PM
RE: [bzr] Light shines through doors - by zico - 06-23-2011, 06:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)