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