15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci SGIX_texture_add_env 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_SGIX_texture_add_env 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciVersion 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci $Date: 1996/08/27 19:55:58 $ $Revision: 1.6 $ 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciNumber 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci 69 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciDependencies 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci None 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciOverview 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci New texture environment function ADD is supported with the following 245bd8deadSopenharmony_ci equation: 255bd8deadSopenharmony_ci Cv = Cf + CcCt + Cb 265bd8deadSopenharmony_ci 275bd8deadSopenharmony_ci New function may be specified by calling glTexEnv with GL_ADD token. 285bd8deadSopenharmony_ci New parameter Cb (bias) may be specified by calling TexEnv with 295bd8deadSopenharmony_ci TEXTURE_ENV_BIAS_SGIX token. 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ciNew Procedures and Functions 335bd8deadSopenharmony_ci 345bd8deadSopenharmony_ci None 355bd8deadSopenharmony_ci 365bd8deadSopenharmony_ciNew Tokens 375bd8deadSopenharmony_ci 385bd8deadSopenharmony_ci Accepted by the <params> parameter of TexEnvf, TexEnvi, TexEnvfv, and 395bd8deadSopenharmony_ci TexEnvfi when the <pname> parameter value is GL_TEXTURE_ENV_MODE 405bd8deadSopenharmony_ci 415bd8deadSopenharmony_ci ADD 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ci Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, 445bd8deadSopenharmony_ci and GetDoublev, and by the <pname> parameter of TexEnvfv, and TexEnvfi 455bd8deadSopenharmony_ci 465bd8deadSopenharmony_ci TEXTURE_ENV_BIAS_SGIX 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ciAdditions to Chapter 2 of the GL Specification (OpenGL Operation) 505bd8deadSopenharmony_ci 515bd8deadSopenharmony_ci None 525bd8deadSopenharmony_ci 535bd8deadSopenharmony_ciAdditions to Chapter 3 of the GL Specification (Rasterization) 545bd8deadSopenharmony_ci 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ci Texture Environment 575bd8deadSopenharmony_ci ------------------- 585bd8deadSopenharmony_ci 595bd8deadSopenharmony_ci Base Texture Format REPLACE MODULATE BLEND DECAL ADD 605bd8deadSopenharmony_ci ------------------- ------- -------- ----- ----- --- 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ci ALPHA ... ... ... ... Rv = Rf 635bd8deadSopenharmony_ci ... ... ... ... Gv = Gf 645bd8deadSopenharmony_ci ... ... ... ... Bv = Bf 655bd8deadSopenharmony_ci ... ... ... ... Av = AfAt 665bd8deadSopenharmony_ci 675bd8deadSopenharmony_ci LUMINANCE ... ... ... ... Rv = Rf+LtRc+Rb 685bd8deadSopenharmony_ci ... ... ... ... Gv = Gf+LtGc+Gb 695bd8deadSopenharmony_ci ... ... ... ... Bv = Bf+LtBc+Bb 705bd8deadSopenharmony_ci ... ... ... ... Av = Af 715bd8deadSopenharmony_ci 725bd8deadSopenharmony_ci LUMINANCE_ALPHA ... ... ... ... Rv = Rf+LtRc+Rb 735bd8deadSopenharmony_ci ... ... ... ... Gv = Gf+LtGc+Gb 745bd8deadSopenharmony_ci ... ... ... ... Bv = Bf+LtBc+Bb 755bd8deadSopenharmony_ci ... ... ... ... Av = AfAt 765bd8deadSopenharmony_ci 775bd8deadSopenharmony_ci INTENSITY ... ... ... ... Rv = Rf+ItRc+Rb 785bd8deadSopenharmony_ci ... ... ... ... Gv = Gf+ItGc+Gb 795bd8deadSopenharmony_ci ... ... ... ... Bv = Bf+ItBc+Bb 805bd8deadSopenharmony_ci ... ... ... ... Av = Af+ItAc+Ab 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ci RGB ... ... ... ... Rv = Rf+RtRc+Rb 835bd8deadSopenharmony_ci ... ... ... ... Gv = Gf+GtGc+Gb 845bd8deadSopenharmony_ci ... ... ... ... Bv = Bf+BtBc+Bb 855bd8deadSopenharmony_ci ... ... ... ... Av = Af 865bd8deadSopenharmony_ci 875bd8deadSopenharmony_ci RGBA ... ... ... ... Rv = Rf+RtRc+Rb 885bd8deadSopenharmony_ci ... ... ... ... Gv = Gf+GtGc+Gb 895bd8deadSopenharmony_ci ... ... ... ... Bv = Bf+BtBc+Bb 905bd8deadSopenharmony_ci ... ... ... ... Av = AfAt 915bd8deadSopenharmony_ci 925bd8deadSopenharmony_ci 935bd8deadSopenharmony_ci Table 3.11: Texture functions. 945bd8deadSopenharmony_ci 955bd8deadSopenharmony_ci 965bd8deadSopenharmony_ciAdditions to Chapter 4 of the GL Specification (Per-Fragment Operations 975bd8deadSopenharmony_ciand the Framebuffer) 985bd8deadSopenharmony_ci 995bd8deadSopenharmony_ci None 1005bd8deadSopenharmony_ci 1015bd8deadSopenharmony_ciAdditions to Chapter 5 of the GL Specification (Special Functions) 1025bd8deadSopenharmony_ci 1035bd8deadSopenharmony_ci None 1045bd8deadSopenharmony_ci 1055bd8deadSopenharmony_ciAdditions to Chapter 6 of the GL Specification (State and State Requests) 1065bd8deadSopenharmony_ci 1075bd8deadSopenharmony_ci The value of the texture environment bias is queried by calling 1085bd8deadSopenharmony_ci GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev with <pname> set to 1095bd8deadSopenharmony_ci TEXTURE_ENV_BIAS_SGIX. 1105bd8deadSopenharmony_ci 1115bd8deadSopenharmony_ci 1125bd8deadSopenharmony_ciAdditions to the GLX Specification 1135bd8deadSopenharmony_ci 1145bd8deadSopenharmony_ci None 1155bd8deadSopenharmony_ci 1165bd8deadSopenharmony_ciGLX Protocol 1175bd8deadSopenharmony_ci 1185bd8deadSopenharmony_ci None 1195bd8deadSopenharmony_ci 1205bd8deadSopenharmony_ciErrors 1215bd8deadSopenharmony_ci 1225bd8deadSopenharmony_ci None 1235bd8deadSopenharmony_ci 1245bd8deadSopenharmony_ciNew State 1255bd8deadSopenharmony_ci 1265bd8deadSopenharmony_ci Get Value Get Command Type Initial Value Attribute 1275bd8deadSopenharmony_ci --------- ----------- ---- ------------- --------- 1285bd8deadSopenharmony_ci TEXTURE_ENV_BIAS_SGIX GetFloatv C (0, 0, 0, 0) texture 1295bd8deadSopenharmony_ci 1305bd8deadSopenharmony_ci 1315bd8deadSopenharmony_ciNew Implementation Dependent State 1325bd8deadSopenharmony_ci 1335bd8deadSopenharmony_ci None 134