[bzr] Light shines through doors
#34
Of course you have a point: Indirect light is not considered in the way I planned to and this is actually where the original lighting has an advantage.

But adding visbility check will not COMPLETELY prevent indirect light as each vertex stores ONE light value. That means that if a vertex is visible from a light source, the joining sides on this vertex will be lit as well. So if a light source illuminates the corner of a tunnel, the light will spread out around the corner slightly, still adding part of indirect ligthing as well.

But consider also that my changes ONLY affect the dynamic light from objects - NOT the intitial level light set by the authors. Making this "realistic" is simply impossible.

In the end I have to make a decision:
1) If I set the light for visibility it will partially consider "indirect light" from object-based light sources such as weapon fire or powerups.
2) If I keep it this way a light CAN go from one room to another even if both rooms have NO connection to each other.
The greatest pleasure in life is to do what people say you cannot do.
Uhm... Honey, there's a head in the toilet!
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 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)