StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
148 stars 3 forks source link

`env_flare` particles incorrect work with portals #1446

Closed MyGamepedia closed 1 year ago

MyGamepedia commented 1 year ago

Describe the bug

env_flare use particles that incorrect work with portals, this particles also use props that use in physgun_interactions function create_flare (Half Life 2: Episode 1 flare for example). It looks like this particles fully connected to player screen. Here I show that it's not visible through portals if player screen not see it.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/eadd424d-7384-45c8-9d81-e448ad3b0efb

Here I show that if player see it - it'll render in portals and not hiding if objects in portal hide it, but it's hiding if player screen not see it.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/638734d1-6680-49fe-8a55-61081ab371de

This problems also in Portal and should work in Portal 2.

Issue Map

Any.

To Reproduce

  1. Open any map.
  2. Enter in console sv_cheats 1; ent_create env_flare; impulse 101; ent_create_portal_companion_cube.
  3. Experiment like in the videos.

Operating System

Windows 10, should work in any I think.

MyGamepedia commented 1 year ago

Close because of Erin ask to create one issue.

MyGamepedia commented 1 year ago

Closed.