Closed daraleak closed 1 year ago
void Oxwa::Fog::Draw() { if (!cvar.visual_fog) return;
if (!Oxwa::ScreenShot::IsVisuals()) return; GLfloat glColor[] = { cvar.visual_fog_color[0], cvar.visual_fog_color[1], cvar.visual_fog_color[2], cvar.visual_fog_color[3] }; glEnable(GL_FOG); glFogi(GL_FOG_MODE, GL_EXP); glFogf(GL_FOG_DENSITY, cvar.visual_fog_density / 10000.f); glFogfv(GL_FOG_COLOR, glColor);
shitpasted but i think you are understand what needs
Gotcha. I will implement this.
Implemented in d39fdee.
void Oxwa::Fog::Draw() { if (!cvar.visual_fog) return;
shitpasted but i think you are understand what needs