back  Return to list

GL_EXT_texture_env_add
homeprevnext Name
  
    EXT_texture_env_add  
  
homeprevnext Name Strings
  
    GL_EXT_texture_env_add  
  
homeprevnext Contact
  
    Michael Gold, NVIDIA (gold 'at' nvidia.com)  
    Tom Frisinger, ATI (tfrisinger 'at' atitech.com)  
  
homeprevnext Status
  
    Shipping (version 1.6)  
  
homeprevnext Version
  
    $Date: 1999/03/22 17:28:00 $ $Revision: 1.1 $  
  
homeprevnext Number
  
    185  
  
homeprevnext Dependencies
  
    None  
  
homeprevnext Overview
  
    New texture environment function ADD is supported with the following   
    equation:   
                        Cv = min(1, Cf + Ct)  
  
    New function may be specified by calling TexEnv with ADD token.  
      
  
homeprevnext New Procedures and Functions
  
    None  
  
homeprevnext New Tokens
  
    Accepted by the <params> parameter of TexEnvf, TexEnvi, TexEnvfv, and  
    TexEnvfi when the <pname> parameter value is GL_TEXTURE_ENV_MODE  
  
        ADD  
  
homeprevnext Additions to Chapter 2 of the GL Specification (OpenGL Operation)
  
        None  
  
homeprevnext Additions to Chapter 3 of the GL Specification (Rasterization)
  
  
                                Texture Environment  
                                -------------------  
  
        Base Texture Format     REPLACE  MODULATE  BLEND  DECAL  ADD  
        -------------------     -------  --------  -----  -----  ---    
  
        ALPHA                    ...      ...       ...    ...   Rv = Rf  
                                 ...      ...       ...    ...   Gv = Gf  
                                 ...      ...       ...    ...   Bv = Bf  
                                 ...      ...       ...    ...   Av = AfAt  
  
        LUMINANCE                ...      ...       ...    ...   Rv = min(1, Rf+Lt)  
                                 ...      ...       ...    ...   Gv = min(1, Gf+Lt)  
                                 ...      ...       ...    ...   Bv = min(1, Bf+Lt)  
                                 ...      ...       ...    ...   Av = Af  
  
        LUMINANCE_ALPHA          ...      ...       ...    ...   Rv = min(1, Rf+Lt)  
                                 ...      ...       ...    ...   Gv = min(1, Gf+Lt)  
                                 ...      ...       ...    ...   Bv = min(1, Bf+Lt)  
                                 ...      ...       ...    ...   Av = AfAt  
  
        INTENSITY                ...      ...       ...    ...   Rv = min(1, Rf+It)  
                                 ...      ...       ...    ...   Gv = min(1, Gf+It)  
                                 ...      ...       ...    ...   Bv = min(1, Bf+It)  
                                 ...      ...       ...    ...   Av = min(1, Af+It)  
  
        RGB                      ...      ...       ...    ...   Rv = min(1, Rf+Rt)  
                                 ...      ...       ...    ...   Gv = min(1, Gf+Gt)  
                                 ...      ...       ...    ...   Bv = min(1, Bf+Bt)  
                                 ...      ...       ...    ...   Av = Af  
  
        RGBA                     ...      ...       ...    ...   Rv = min(1, Rf+Rt)  
                                 ...      ...       ...    ...   Gv = min(1, Gf+Gt)  
                                 ...      ...       ...    ...   Bv = min(1, Bf+Bt)  
                                 ...      ...       ...    ...   Av = AfAt  
  
  
        Table 3.11: Texture functions.  
  
  
homeprevnext Additions to Chapter 4 of the GL Specification (Per-Fragment Operations and the Framebuffer)
  
    None  
  
homeprevnext Additions to Chapter 5 of the GL Specification (Special Functions)
  
    None  
  
homeprevnext Additions to Chapter 6 of the GL Specification (State and State Requests)
  
    None  
  
homeprevnext Additions to the GLX / WGL / AGL Specifications
  
    None  
  
homeprevnext GLX Protocol
  
    None  
  
homeprevnext Errors
  
    None  
  
homeprevnext New State
  
    None  
  
homeprevnext New Implementation Dependent State
  
    None  
    None  
Valid XHTML 1.1! Valid CSS! Last update: November 14, 2006.
Cette page doit être lue avec un navigateur récent respectant le standard XHTML 1.1.