Posted by Boseley
however i have some models within the skybox that i can not avoid being seen from outside of the second skybox.
For models, you can always add a func_occluder to hide them from certain sides/angles.
Apply the occluder texture only on the side that you want to hide models behind it, and apply nodraw on all other sides of the brush to save some frame rates in-game since occluders work in real time and are very costly on the engine.
With occluders, it's really an issue of trade-off between what models you want to hide and the occluder's relative cost on the engine. It all boils down to an educated guess and decision from your side whether to implement or discard the occluder.
You need to carefully test the effect of the occluder in-game to see if it is worsening or improving the fps: type r_visocclusion 1 in console to see what models are being hidden and from what angles (to be able to adjust the location of the occluder brush). After that, position yourself in-game in front of the occluder, record the fps for your reference (for later comparison), then type r_occlusion 0 in console to turn off occlusion and check the fps again (using net_graph or +showbudget console commands).
If the fps remains the same or improves, then your occluder is OK and doing its job correctly; however, if you notice a drastic drop in fps, then your occluder is doing more harm than good and needs to be removed.
Your best bet would then be to reposition/delete your models or modify your layout to avoid having a direct line of sight between the player and the models in question.
Hope this helps
will2k
Agree x 1
Win x 1
Helpful x 1
Interesting x 1
Thanks x 1