15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci EXT_texture_env_add 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_EXT_texture_env_add 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContact 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Michael Gold, NVIDIA (gold 'at' nvidia.com) 125bd8deadSopenharmony_ci Tom Frisinger, ATI (tfrisinger 'at' atitech.com) 135bd8deadSopenharmony_ci 145bd8deadSopenharmony_ciStatus 155bd8deadSopenharmony_ci 165bd8deadSopenharmony_ci Shipping (version 1.7) 175bd8deadSopenharmony_ci 185bd8deadSopenharmony_ciVersion 195bd8deadSopenharmony_ci 205bd8deadSopenharmony_ci $Date: 1999/03/22 17:28:00 $ $Revision: 1.1 $ 215bd8deadSopenharmony_ci 225bd8deadSopenharmony_ciNumber 235bd8deadSopenharmony_ci 245bd8deadSopenharmony_ci 185 255bd8deadSopenharmony_ci 265bd8deadSopenharmony_ciDependencies 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ci None 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ciOverview 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ci New texture environment function ADD is supported with the following 335bd8deadSopenharmony_ci equation: 345bd8deadSopenharmony_ci Cv = min(1, Cf + Ct) 355bd8deadSopenharmony_ci 365bd8deadSopenharmony_ci New function may be specified by calling TexEnv with ADD token. 375bd8deadSopenharmony_ci 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ciNew Procedures and Functions 405bd8deadSopenharmony_ci 415bd8deadSopenharmony_ci None 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ciNew Tokens 445bd8deadSopenharmony_ci 455bd8deadSopenharmony_ci Accepted by the <params> parameter of TexEnvf, TexEnvi, TexEnvfv, and 465bd8deadSopenharmony_ci TexEnvfi when the <pname> parameter value is GL_TEXTURE_ENV_MODE 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ci ADD 495bd8deadSopenharmony_ci 505bd8deadSopenharmony_ciAdditions to Chapter 2 of the GL Specification (OpenGL Operation) 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ci None 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ciAdditions to Chapter 3 of the GL Specification (Rasterization) 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ci 575bd8deadSopenharmony_ci Texture Environment 585bd8deadSopenharmony_ci ------------------- 595bd8deadSopenharmony_ci 605bd8deadSopenharmony_ci Base Texture Format REPLACE MODULATE BLEND DECAL ADD 615bd8deadSopenharmony_ci ------------------- ------- -------- ----- ----- --- 625bd8deadSopenharmony_ci 635bd8deadSopenharmony_ci ALPHA ... ... ... ... Rv = Rf 645bd8deadSopenharmony_ci ... ... ... ... Gv = Gf 655bd8deadSopenharmony_ci ... ... ... ... Bv = Bf 665bd8deadSopenharmony_ci ... ... ... ... Av = AfAt 675bd8deadSopenharmony_ci 685bd8deadSopenharmony_ci LUMINANCE ... ... ... ... Rv = min(1, Rf+Lt) 695bd8deadSopenharmony_ci ... ... ... ... Gv = min(1, Gf+Lt) 705bd8deadSopenharmony_ci ... ... ... ... Bv = min(1, Bf+Lt) 715bd8deadSopenharmony_ci ... ... ... ... Av = Af 725bd8deadSopenharmony_ci 735bd8deadSopenharmony_ci LUMINANCE_ALPHA ... ... ... ... Rv = min(1, Rf+Lt) 745bd8deadSopenharmony_ci ... ... ... ... Gv = min(1, Gf+Lt) 755bd8deadSopenharmony_ci ... ... ... ... Bv = min(1, Bf+Lt) 765bd8deadSopenharmony_ci ... ... ... ... Av = AfAt 775bd8deadSopenharmony_ci 785bd8deadSopenharmony_ci INTENSITY ... ... ... ... Rv = min(1, Rf+It) 795bd8deadSopenharmony_ci ... ... ... ... Gv = min(1, Gf+It) 805bd8deadSopenharmony_ci ... ... ... ... Bv = min(1, Bf+It) 815bd8deadSopenharmony_ci ... ... ... ... Av = min(1, Af+It) 825bd8deadSopenharmony_ci 835bd8deadSopenharmony_ci RGB ... ... ... ... Rv = min(1, Rf+Rt) 845bd8deadSopenharmony_ci ... ... ... ... Gv = min(1, Gf+Gt) 855bd8deadSopenharmony_ci ... ... ... ... Bv = min(1, Bf+Bt) 865bd8deadSopenharmony_ci ... ... ... ... Av = Af 875bd8deadSopenharmony_ci 885bd8deadSopenharmony_ci RGBA ... ... ... ... Rv = min(1, Rf+Rt) 895bd8deadSopenharmony_ci ... ... ... ... Gv = min(1, Gf+Gt) 905bd8deadSopenharmony_ci ... ... ... ... Bv = min(1, Bf+Bt) 915bd8deadSopenharmony_ci ... ... ... ... Av = AfAt 925bd8deadSopenharmony_ci 935bd8deadSopenharmony_ci 945bd8deadSopenharmony_ci Table 3.11: Texture functions. 955bd8deadSopenharmony_ci 965bd8deadSopenharmony_ci 975bd8deadSopenharmony_ciAdditions to Chapter 4 of the GL Specification (Per-Fragment Operations 985bd8deadSopenharmony_ciand the Framebuffer) 995bd8deadSopenharmony_ci 1005bd8deadSopenharmony_ci None 1015bd8deadSopenharmony_ci 1025bd8deadSopenharmony_ciAdditions to Chapter 5 of the GL Specification (Special Functions) 1035bd8deadSopenharmony_ci 1045bd8deadSopenharmony_ci None 1055bd8deadSopenharmony_ci 1065bd8deadSopenharmony_ciAdditions to Chapter 6 of the GL Specification (State and State Requests) 1075bd8deadSopenharmony_ci 1085bd8deadSopenharmony_ci None 1095bd8deadSopenharmony_ci 1105bd8deadSopenharmony_ciAdditions to the GLX / WGL / AGL Specifications 1115bd8deadSopenharmony_ci 1125bd8deadSopenharmony_ci None 1135bd8deadSopenharmony_ci 1145bd8deadSopenharmony_ciGLX Protocol 1155bd8deadSopenharmony_ci 1165bd8deadSopenharmony_ci None 1175bd8deadSopenharmony_ci 1185bd8deadSopenharmony_ciErrors 1195bd8deadSopenharmony_ci 1205bd8deadSopenharmony_ci None 1215bd8deadSopenharmony_ci 1225bd8deadSopenharmony_ciNew State 1235bd8deadSopenharmony_ci 1245bd8deadSopenharmony_ci None 1255bd8deadSopenharmony_ci 1265bd8deadSopenharmony_ciNew Implementation Dependent State 1275bd8deadSopenharmony_ci 1285bd8deadSopenharmony_ci None 1295bd8deadSopenharmony_ci 1305bd8deadSopenharmony_ciRevision History 1315bd8deadSopenharmony_ci 1325bd8deadSopenharmony_ci Rev. Date Author Changes 1335bd8deadSopenharmony_ci ---- -------- -------- -------------------------------------------- 1345bd8deadSopenharmony_ci 1.7 08/13/08 mjk Add missing "clamping to 1" behavior. 135