portal2 icon indicating copy to clipboard operation
portal2 copied to clipboard

[Portal 2] Security camera's lens and behavior bug

Open DimetryBadcoder opened this issue 2 years ago • 12 comments

For some reason, security camera have some rendering issues:

  • Lens doesn't renders at all;
  • Camera is always turned on, even when torn off (indicator is lit).

When player break a camera with portal gun, it turns off for a less then a second, and then turns on again. What is interesting, those issues disappears when you put a torn off camera into portal so that the camera is on both sides at the same time.

DimetryBadcoder avatar Dec 16 '22 23:12 DimetryBadcoder

I may create some screenshots or record a video if you need

DimetryBadcoder avatar Dec 16 '22 23:12 DimetryBadcoder

Can you please give system info.

misyltoad avatar Dec 17 '22 06:12 misyltoad

Can you please give system info.

Sure https://gist.github.com/DimetryBadcoder/d197945d6e815d1a6e4b53ef52c192a4

Steam gave me info in Russian. I may make English version if you need

DimetryBadcoder avatar Dec 17 '22 14:12 DimetryBadcoder

Can you please show what the issue is also?

misyltoad avatar Dec 17 '22 18:12 misyltoad

Can you please show what the issue is also?

Sure! https://youtu.be/Kg_TUJCxfdo?list=PLBw0j1thl-OcgKRl7LcWIRuAg29jvfPOO https://youtu.be/6nZmrF1f_wk?list=PLBw0j1thl-OcgKRl7LcWIRuAg29jvfPOO

The same issues comes with fresh camera's model. Also I have noticed weird flickering on some materials.

DimetryBadcoder avatar Dec 18 '22 23:12 DimetryBadcoder

Playing with -vulkan should fix the flickering.

misyltoad avatar Dec 19 '22 00:12 misyltoad

Playing with -vulkan should fix the flickering.

Yes, there is no flickering, thank you! I hope it will be fixed in the regular DirectX version as well :D

DimetryBadcoder avatar Dec 19 '22 00:12 DimetryBadcoder

Given that it's an NVIDIA driver bug that has existed for over 7 years now, I am doubtful. The proper solution would be for us to just default to Vulkan on any driver with Graphics Pipeline Libraries at this point.

misyltoad avatar Dec 19 '22 00:12 misyltoad

Given that it's an NVIDIA driver bug that has existed for over 7 years now, I am doubtful. The proper solution would be for us to just default to Vulkan on any driver with Graphics Pipeline Libraries at this point.

I see. I think Vulkan as default API would be a problem for old hardware :)

By the way, do you have an idea what causes this flickering? Maybe it's somehow related to the texture filtering or the antialiasing?

DimetryBadcoder avatar Dec 19 '22 00:12 DimetryBadcoder

I think Vulkan as default API would be a problem for old hardware :)

This is why I said "on any driver with Graphics Pipeline Libraries at this point".

By the way, do you have an idea what causes this flickering?

Projected textures

misyltoad avatar Dec 19 '22 00:12 misyltoad

This is why I said "on any driver with Graphics Pipeline Libraries at this point".

Sorry, I didn't got it. I am not very experienced with graphic programming, but this topic is kinda interesting for me

DimetryBadcoder avatar Dec 19 '22 00:12 DimetryBadcoder

Thank you for the answer!

DimetryBadcoder avatar Dec 19 '22 00:12 DimetryBadcoder