• Advertisement
Sign in to follow this  

Lesson 16, Alpha Color

This topic is 4609 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement