PazerOP / CastingEssentials

A Team Fortress 2 client plugin that enhances the experience of both casters and viewers.
https://Essentials.tf
BSD 2-Clause "Simplified" License
29 stars 12 forks source link

Optimize glow-when-occluded outlines when outside PVS #68

Closed PazerOP closed 6 years ago

PazerOP commented 6 years ago

Assuming it's cheaper to check if the entire player model is outside the PVS, just outline the whole thing unconditionally without needing the depth buffer.

PazerOP commented 6 years ago

Added in https://github.com/PazerOP/CastingEssentials/commit/eaea0e194ad1c11902049be49e2b1f22044d251d.