Fog with Blend in OpenGL
- by MhdAljobory
I want to add fog in my scene which contain transparent textures made by Blend ,
when i enable the fog the transparent textures appear white From a distance but when i disable it the textures appear well.
What is the solution to the problem of whiteness?
Fog Code:
GLfloat fogColor[4]= {0.5f, 0.5f, 0.5f, 1.0f};…