StrataSource / Portal-2-Community-Edition

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

Bug: r_farz -1 represents too small value #1419

Closed Electrodynamite12 closed 1 year ago

Electrodynamite12 commented 1 year ago

Describe the bug

r_farz -1 seem to be equivalent to values around 1000 in p2ce (its much further in p2) so the far clipping plane is too close on maps with no fog controllers.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/57415598/37c1362a-a026-44bd-b0d2-3357c929cb98

Issue Map

Any map without fog controller

To Reproduce

  1. Open map without fog controller
  2. Make sure r_farz is set to -1
  3. Go far enough (approximately 1000 units away from the target)

Operating System

No response

SCell555 commented 1 year ago

Without fog controller, max render distance is based on size of map bounds. This is not a bug. There is similar issue already open in engine repo github.com/StrataSource/Engine/781 about it not accounting for recursive portals.