RetroArch
Variables
modern_alpha_blend.glsl.frag.h File Reference
#include "shaders_common.h"
Include dependency graph for modern_alpha_blend.glsl.frag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static const char * stock_fragment_modern_blend
 

Variable Documentation

◆ stock_fragment_modern_blend

const char* stock_fragment_modern_blend
static
Initial value:
= GLSL(
uniform sampler2D Texture;
uniform vec4 bgcolor;
varying vec2 tex_coord;
varying vec4 color;
void main() {
if (bgcolor.a > 0.0)
gl_FragColor = bgcolor;
else
gl_FragColor = color * texture2D(Texture, tex_coord);
}
)
sampler2DBase< glm::vec4 > sampler2D
Definition: sampler.hpp:94
#define GLSL(src)
Definition: shaders_common.h:10
int main(int argc, char *argv[])
Definition: send-presence.c:197
GLuint color
Definition: glext.h:6883
Definition: Context.h:13