func_smokevolume visibility optimization

I spawn outside the room - smoke not being rendered.

I go inside the room - smoke being rendered.

I go back outside the room - smoke still being rendered.

How do I stop the smoke from being rendered when I’m outside the room?

I’ve noticed the same thing in maps I’ve made a long time ago, I don’t think there’s really a way to fix it. Smoke in a func_smokevolume doesn’t really impact framerates from long distances anyway so it’s not much of an issue.

How about creating a trigger outside the room that turns it off/kills it?

What if some other player was in the room while some other player left the room?

That would only work if the map was SP only.

Oh, I thought it was SP, sorry.

I think a func_occluder will make it not render

Wasn’t there an entity which detects how many/the percentage of players are in the volume? They used it in Zombiemaster.

Gonna hunt for it now.

EDIT: game_zone_player