4 * Copyright (C) 2010 - 2015 Leonid Kostrykin
6 * Chair of Medical Engineering (mediTEC)
7 * RWTH Aachen University
14 uniform sampler2D colorMap;
15 uniform float alphaFactor;
17 in vec2 textureCoordinates;
19 out vec4 gl_FragColor;
22 // ----------------------------------------------------------------------------------
24 // ----------------------------------------------------------------------------------
28 vec4 color = texture( colorMap, textureCoordinates );
29 gl_FragColor = vec4( color.rgb, color.a * alphaFactor );