[4.7.0pre-91] Portal Dynamic Light Bleeding

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [4.7.0pre-91] Portal Dynamic Light Bleeding

Re: [4.7.0pre-91] Portal Dynamic Light Bleeding

by Rachael » Tue Aug 03, 2021 8:42 am

If you want to stop this from happening, make the portals type 2 (interactive) and not type 3 (static/eternity). Type 2 portals will not transmit lights. But they will not link an area together either for sound or sight checks. They will transmit hitscan attacks, i.e. bullet puffs though, and they'll move any movable object that crosses their line, i.e. monsters or missiles or players.

Re: [4.7.0pre-91] Portal Dynamic Light Bleeding

by Trusty McLegit » Tue Aug 03, 2021 8:15 am

Okay, thank you for explaining.

Re: [4.7.0pre-91] Portal Dynamic Light Bleeding

by Rachael » Tue Aug 03, 2021 4:10 am

Unfortunately, as wrong as that looks, yes, it is intended behavior. The torches are standing very near the portal line and therefore their light must be transmitted.

Again let me reiterate - static portals are meant to create a seamless transition from one area to another.

There is one issue though - and that is that the torches use the same shadowmap on both sides of the portal. It should not do this.

But beyond that - this is working as intended. Maybe not as intended on your part, but definitely as intended on the engine's.

Re: [4.7.0pre-91] Portal Dynamic Light Bleeding

by Trusty McLegit » Mon Aug 02, 2021 10:24 pm

So for instance in this version, I want the torches cascading in through the archway towards the player. Instead almost all the light comes out the back. This is the intended behavior?
Attachments
Portals Demo 2.wad
(33.87 KiB) Downloaded 28 times

Re: [4.7.0pre-91] Portal Dynamic Light Bleeding

by Rachael » Mon Aug 02, 2021 10:14 pm

Yes they are supposed to do that but only with static portals and only with lights very close by to the portal linedef. Your portals are set up eternity style. If the lights move away from the portal linedef then they should eventually disappear.

This looks normal to me. When I summon torches far enough away from the linedef they do not appear on the other side, as expected.

If you don't want your portals to transmit lights, set them to interactive (type 2, not type 3). Static portals are meant for almost as convincingly as possible, to overlay one scene on top of another and patching them together.

[4.7.0pre-91] Portal Dynamic Light Bleeding

by Trusty McLegit » Mon Aug 02, 2021 9:46 pm

Demo map included.
Using the built in dynamic lights on the lost souls you can see their lights in places they shouldn't be on the other end of the portals. This works with all dynamic lights so far as I can tell, making portals unusable with dynamic lights. Am I doing something wrong or is this a serious limitation?
Attachments
Portals Demo.wad
(35.34 KiB) Downloaded 28 times

Top