<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
  <meta content="text/html; charset=windows-1251" http-equiv="Content-Type">
<title>gl_blend_table</title></head><body>http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml<br>
<br>
<br>
<br>
GL_BLEND as tn2 combiner input bindings<br>
<br>
case&nbsp; GL_RGB<br>
ALPHA = GL_ALPHA_PREVIOUS.<br>
alpha_input = [previous, 1, ZERO, 0]<br>
RGB = RGB_previous * (INV&nbsp; RGB_SOURCE) + RGB_CONST * RGB_SOURCE<br>
rgb_input = [INV (texture), previous, const, texture]<br>
<br>
case RGBA<br>
ALPHA = ALPHA_PREVIOUS * ALPHA_SOURCE <br>
alpha_input = [previous, 1,&nbsp; texture, 1]<br>
RGBA = RGB_previous * (INV RGB_SOURCE) + RGB_CONST * RGB_SOURCE<br>
rgb_input = [INV (texture), previous, const, texture]<br>
</body></html>