Hello there.

 

I'd like to ask with a problem I'm having related to fog and blending. I'm 
using a 

modified Paranoia renderer to render my world, and when I have dynamic lights

in a level, I have to render the world in two passes for lighting to be correct.

 

This causes an odd problem with fog, where the fog color is applied incorrectly,

and I haven't managed to solve this bug yet. I'd be really happy if someone

could help me out with this.

 

This is the setting I use when rendering those polygons:

glBlendFunc(GL_DST_COLOR, GL_SRC_COLOR);

 

Thanks.

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to