PDA

View Full Version : Modulate blend with alpha fade



halo
03-06-2006, 03:15 PM
The "darken" (modulate) blend mode is GL_DST_COLOR, GL_ZERO. How do I alpha-fade a modulate blend object? I have a shadow texture with a dark background that I want to draw with an alpha fade.

dorbie
03-07-2006, 10:43 AM
GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA