01-29-2004, 01:47 AM
To prevent objects from suddenly appearing at my far clipping plane (in a big scene) I want them to fade in when they enter de view frustum. To do that I setup standard fog with color 1,1,1,0. I set the start of the fog at 10m before the end of my frustum and the end of the fog right at the end of the frustum. Looking at the formula's in the openGL book: C=fCi+(1-f)Cf I expect my objects to be transparent when f=1 because I made the fogcolor transparent. However, it seems like it doesn't matter what the alpha value of the fog is, it only changes the color of the objects, not the transparency. Does anyone know WHY this is ? And maybe how to get the effect without using vertexshaders ?