3 * @brief combine2 fragment shader.
7 /** After glsl1110 this need to be explicitly declared; used by fixed functionality at the end of the OpenGL pipeline.*/
11uniform sampler2D SAMPLER0;
12uniform sampler2D SAMPLER1;
13uniform vec4 DEFAULTCOLOR;
16 vec4 color1 = texture2D(SAMPLER0, gl_TexCoord[0].st);
17 vec4 color2 = texture2D(SAMPLER1, gl_TexCoord[0].st);
18 gl_FragColor = color1 + color2 + DEFAULTCOLOR;