extern DWORD glow_manager = 0;
constexpr ::std::ptrdiff_t m_iGlowIndex = 0x10488;
int get_glow_index()
{
return rpm<int>(address + netvars::m_iGlowIndex);
}
void glow_entity(c_base_entity entity, glow settings)
{
wpm<glow>(settings, glow_manager + ((entity.get_glow_index() * 0x38) + 0x8));
}
struct glow
{
color clr;
float m_flGlowAlpha = 1.f;
char m_unk[4];
float m_flUnk;
float m_flBloomAmount = 1.f; //1 max
float m_flUnk1;
bool m_bRenderWhenOccluded = true;
bool m_bRenderWhenUnoccluded = false;
bool m_bFullBloomRender = false; //outline or inline
char m_unk1;
int m_nFullBloomStencilTestValue;
int m_nGlowStyle = 0; //3 - flicker, 2 - inline glow , 1 - inline+flicker, 0 - full body glow
};