Filter non-visible entities by default, add "show invisible" toggle #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Many entities that exist in the server's entity list shouldn't be rendered by default. Currently we render placeholder boxes for everything, cluttering the scene with invisible/non-renderable entities.
Problem cases
Inactive weapons
EF_NODRAWflag or equivalent to determine if it should renderPoint entities (no visual representation)
sky_camera,info_player_start,env_soundscape,env_fog_controller,env_sun,env_tonemap_controller,path_track,path_corner,ai_network,soundent, etc.Server-only / internal entities
worldspawn,player_manager,gmod_gamerules,scene_manager,shadow_control,water_lod_controlProposed solution
Server side
EF_NODRAWand other render flags to the streamed entity stateClient side
EF_NODRAWflag → hiddenNotes
EF_NODRAWapproach is the most reliable since the engine already knows what to draw