Advertisement

Lesson 16, Alpha Color

Started by June 05, 2005 02:11 PM
4 comments, last by nefthy 19 years, 8 months ago
Does the Alpha color have any effect on the fog? I created a dialog box to control RGBA and distancing of the environments fogging. When I change the alpha I see no apparent visual effect. Is my conclusion correct? After reading through a few books and sites I haven't come across any answers.
have you turned blending on?
Advertisement
Yeah, I still dont see any difference.
Sorry I missunderstud (read missread) your original post.

Quote:
from man glFogiv:
Fog does not affect a fragment's alpha component.


You are probably looking for GL_FOG_DENSITY, just a guess. If this is not what you are looking for please describe what you are trying to do.
glFogfv(GL_FOG_COLOR, COLOR);

Is able to take a 4th value, RGB(A). I was just woundering if the alpha value has any effect on fog or if its just a dead value.

I have messed around with it but havent discovered any purpose for it.
its a dead value

This topic is closed to new replies.

Advertisement