spearmint
spearmint copied to clipboard
All visible entities are drawn for each local player in splitscreen
Should either check if visible before rendering in renderer or (most likely?) mark which local players the entities are visible for in snapshots (so we can only add visible entities to scene).
In opengl2, all the entities seem to stay visible (r_showtris 1) but in opengl1 sometimes they disappear.
This probably affects FPS quite a bit? Well, I think it could affect it quite a bit. Setting r_showentities 0 in quake 3 doesn't change FPS much.
I noticed this issue, & as more splitscreen players drop in, the fps you get drops from 90-100 fos down to at least 30-40 fps. So yes, this impacts fps quite a bit. So only making the renderer draw the part(s) of the level that the player(s)/bots are in would fix this issue.
This can cause visual issues too rather than just a potential performance improvement.
In splitscreen items and players are visible though the skybox on OpenArena 0.8.8's delta map (space map with teleporters between areas). Entities are suppose to be limited by the BSP potentially visible set (PVS) since sky surfaces aren't written to the depth buffer.