Garry's Mod

Garry's Mod

Seamless Portals
For the Dev
here is something you might wanna add to this addons description...

when you place the portals and you can't really see through them (E.X: you can only see through them if you are very close to them) then type "r_novis 1" into the console. this makes it so you can clearly see through the portals, and makes it so you do not need to be right up against the portal in order to actually see through it. this also fixes any skybox flickering issues from looking through the portal


so yes, i tested this on gm_construct. i placed 1 portal in 1 spot, then placed another in a farther location and could only see through the portal if i was right up against it. but doing the "r_novis 1" fixed the issue and made it so i could once again see through the portal
< >
Showing 1-4 of 4 comments
Wasabi_Thumbs 6 Mar, 2022 @ 2:02pm 
So there IS a way to disable PVS! Can't believe I didn't find this sooner. The mod literally emulates a 2D skybox because the engine doesnt render any skyboxes when a camera is in a wall (i.e. the virtual camera for a portal). We could've totally just enabled r_novis for a brief period of time while portal views are being rendered. I actually prefer what WAS done, since r_novis inherently lowers performance, but still super neat. Definitely makes it more seamless. Nice find my guy!
ArrayOfHopeLive 6 Mar, 2022 @ 2:08pm 
Originally posted by Wasabi_Thumbs:
So there IS a way to disable PVS! Can't believe I didn't find this sooner. The mod literally emulates a 2D skybox because the engine doesnt render any skyboxes when a camera is in a wall (i.e. the virtual camera for a portal). We could've totally just enabled r_novis for a brief period of time while portal views are being rendered. I actually prefer what WAS done, since r_novis inherently lowers performance, but still super neat. Definitely makes it more seamless. Nice find my guy!
true, it does lower FPS. so the dev might need to put a disclaimer that says "if you enable r_novis 1" you may experience some FPS drops depending on your rig" but yeah, only reason i know about this is there is a heavily outdated portal gun mod on steam where the dev said to enable "r_novis" to fix any portal flickering/skybox rendering issues, heh
Meetric  [developer] 6 Mar, 2022 @ 2:59pm 
interesting
Wasabi_Thumbs 7 Mar, 2022 @ 1:08am 
The ultimate solution would be this[wiki.facepunch.com], but according to the Valve developer wiki, it's broken even in C++. The same page also mentions r_novis
Last edited by Wasabi_Thumbs; 7 Mar, 2022 @ 2:02am
< >
Showing 1-4 of 4 comments
Per page: 1530 50