15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    EXT_texture_env_dot3
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    GL_EXT_texture_env_dot3
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciContact
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci    Dan Ginsburg, AMD (dan.ginsburg 'at' amd.com)
125bd8deadSopenharmony_ci    Dave Gosselin
135bd8deadSopenharmony_ci
145bd8deadSopenharmony_ciNotice
155bd8deadSopenharmony_ci
165bd8deadSopenharmony_ci    Copyright ATI Technologies, 2000.
175bd8deadSopenharmony_ci
185bd8deadSopenharmony_ciIP Status
195bd8deadSopenharmony_ci
205bd8deadSopenharmony_ci    None
215bd8deadSopenharmony_ci
225bd8deadSopenharmony_ciVersion
235bd8deadSopenharmony_ci
245bd8deadSopenharmony_ci    Last Modified Date: 2006/11/04 13:54:17 Revision: 1.3
255bd8deadSopenharmony_ci
265bd8deadSopenharmony_ciNumber
275bd8deadSopenharmony_ci
285bd8deadSopenharmony_ci    220
295bd8deadSopenharmony_ci
305bd8deadSopenharmony_ciDependencies
315bd8deadSopenharmony_ci
325bd8deadSopenharmony_ci    EXT_texture_env_combine is required and is modified by this extension
335bd8deadSopenharmony_ci    ARB_multitexture affects the definition of this extension
345bd8deadSopenharmony_ci
355bd8deadSopenharmony_ciOverview
365bd8deadSopenharmony_ci
375bd8deadSopenharmony_ci    Adds new operation to the texture combiner operations.
385bd8deadSopenharmony_ci
395bd8deadSopenharmony_ci        DOT3_RGB_EXT                    Arg0 <dotprod> Arg1
405bd8deadSopenharmony_ci        DOT3_RGBA_EXT                   Arg0 <dotprod> Arg1
415bd8deadSopenharmony_ci
425bd8deadSopenharmony_ci    where Arg0, Arg1 are derived from
435bd8deadSopenharmony_ci
445bd8deadSopenharmony_ci        PRIMARY_COLOR_EXT       primary color of incoming fragment
455bd8deadSopenharmony_ci        TEXTURE                 texture color of corresponding texture unit
465bd8deadSopenharmony_ci        CONSTANT_EXT            texture environment constant color
475bd8deadSopenharmony_ci        PREVIOUS_EXT            result of previous texture environment; on
485bd8deadSopenharmony_ci                                texture unit 0, this maps to PRIMARY_COLOR_EXT
495bd8deadSopenharmony_ci
505bd8deadSopenharmony_ci    This operaion can only be performed if SOURCE0_RGB_EXT,
515bd8deadSopenharmony_ci    SOURCE1_RGB_EXT are defined.
525bd8deadSopenharmony_ci
535bd8deadSopenharmony_ciIssues
545bd8deadSopenharmony_ci
555bd8deadSopenharmony_ci    None
565bd8deadSopenharmony_ci
575bd8deadSopenharmony_ciNew Procedures and Functions
585bd8deadSopenharmony_ci
595bd8deadSopenharmony_ci    None
605bd8deadSopenharmony_ci
615bd8deadSopenharmony_ciNew Tokens
625bd8deadSopenharmony_ci
635bd8deadSopenharmony_ci    Accepted by the <params> parameter of TexEnvf, TexEnvi, TexEnvfv,
645bd8deadSopenharmony_ci    and TexEnviv when the <pname> parameter value is COMBINE_RGB_EXT
655bd8deadSopenharmony_ci
665bd8deadSopenharmony_ci        DOT3_RGB_EXT                                    0x8740
675bd8deadSopenharmony_ci        DOT3_RGBA_EXT                                   0x8741
685bd8deadSopenharmony_ci
695bd8deadSopenharmony_ci
705bd8deadSopenharmony_ciAdditions to Chapter 2 of the OpenGL 1.2 Specification (OpenGL Operation)
715bd8deadSopenharmony_ci
725bd8deadSopenharmony_ci    None
735bd8deadSopenharmony_ci
745bd8deadSopenharmony_ciAdditions to Chapter 3 of the OpenGL 1.2 Specification (Rasterization)
755bd8deadSopenharmony_ci
765bd8deadSopenharmony_ci    Added to subsection 3.8.9, before the paragraph describing the
775bd8deadSopenharmony_ci    state requirements:
785bd8deadSopenharmony_ci
795bd8deadSopenharmony_ci    If the value of TEXTURE_ENV_MODE is COMBINE_EXT, the form of the
805bd8deadSopenharmony_ci    texture function depends on the values of COMBINE_RGB_EXT and
815bd8deadSopenharmony_ci    COMBINE_ALPHA_EXT, according to table 3.20.  The RGB and ALPHA
825bd8deadSopenharmony_ci    results of the texture function are not multiplied by the values
835bd8deadSopenharmony_ci    of RGB_SCALE_EXT and ALPHA_SCALE, respectively.  The results are
845bd8deadSopenharmony_ci    clamped to [0,1].
855bd8deadSopenharmony_ci
865bd8deadSopenharmony_ci
875bd8deadSopenharmony_ci        COMBINE_RGB_EXT         Texture Function
885bd8deadSopenharmony_ci        ------------------      ----------------
895bd8deadSopenharmony_ci        DOT3_RGB_EXT            4*((Arg0_r - 0.5)*(Arg1_r - 0.5) +
905bd8deadSopenharmony_ci                                   (Arg0_g - 0.5)*(Arg1_g - 0.5) +
915bd8deadSopenharmony_ci                                   (Arg0_b - 0.5)*(Arg1_b - 0.5))
925bd8deadSopenharmony_ci                                This value is placed into all three
935bd8deadSopenharmony_ci                                r,g,b components of the output.
945bd8deadSopenharmony_ci        DOT3_RGBA_EXT           4*((Arg0_r - 0.5)*(Arg1_r - 0.5) +
955bd8deadSopenharmony_ci                                   (Arg0_g - 0.5)*(Arg1_g - 0.5) +
965bd8deadSopenharmony_ci                                   (Arg0_b - 0.5)*(Arg1_b - 0.5))
975bd8deadSopenharmony_ci                                This value is placed into all four
985bd8deadSopenharmony_ci                                r,g,b,a components of the output.
995bd8deadSopenharmony_ci
1005bd8deadSopenharmony_ci
1015bd8deadSopenharmony_ci        Table 3.20: COMBINE_EXT texture functions
1025bd8deadSopenharmony_ci    
1035bd8deadSopenharmony_ci
1045bd8deadSopenharmony_ciAdditions to Chapter 4 of the OpenGL 1.2 Specification (Per-Fragment Operations
1055bd8deadSopenharmony_ciand the Framebuffer)
1065bd8deadSopenharmony_ci
1075bd8deadSopenharmony_ci    None
1085bd8deadSopenharmony_ci
1095bd8deadSopenharmony_ciAdditions to Chapter 5 of the OpenGL 1.2 Specification (Special Functions)
1105bd8deadSopenharmony_ci
1115bd8deadSopenharmony_ci    None
1125bd8deadSopenharmony_ci
1135bd8deadSopenharmony_ciAdditions to Chapter 6 of the OpenGL 1.2 Specification (State and State Requests)
1145bd8deadSopenharmony_ci
1155bd8deadSopenharmony_ci    None
1165bd8deadSopenharmony_ci
1175bd8deadSopenharmony_ciAdditions to the AGL/GLX/WGL Specifications
1185bd8deadSopenharmony_ci
1195bd8deadSopenharmony_ci    None
1205bd8deadSopenharmony_ci
1215bd8deadSopenharmony_ciGLX Protocol
1225bd8deadSopenharmony_ci
1235bd8deadSopenharmony_ci    None
1245bd8deadSopenharmony_ci
1255bd8deadSopenharmony_ciErrors
1265bd8deadSopenharmony_ci
1275bd8deadSopenharmony_ciModifications to EXT_texture_env_combine
1285bd8deadSopenharmony_ci
1295bd8deadSopenharmony_ciDependencies on ARB_multitexture
1305bd8deadSopenharmony_ci
1315bd8deadSopenharmony_ciNew State
1325bd8deadSopenharmony_ci
1335bd8deadSopenharmony_ci    None
1345bd8deadSopenharmony_ci
1355bd8deadSopenharmony_ciNew Implementation Dependent State
1365bd8deadSopenharmony_ci
1375bd8deadSopenharmony_ci    None
1385bd8deadSopenharmony_ci
1395bd8deadSopenharmony_ciRevision History
1405bd8deadSopenharmony_ci
1415bd8deadSopenharmony_ci    None
1425bd8deadSopenharmony_ci
143