4 * Copyright (C) 2010 - 2016 Leonid Kostrykin
6 * Chair of Medical Engineering (mediTEC)
7 * RWTH Aachen University
13 * Copyright (C) 2021 - 2025 Leonid Kostrykin
17uniform sampler2D colorMap;
18uniform int mod2result;
20in vec2 textureCoordinates;
22layout( location = 0 ) out vec4 _gl_FragColor;
25// ----------------------------------------------------------------------------------
27// ----------------------------------------------------------------------------------
31 if( mod( int( gl_FragCoord.y + 0.5 ), 2 ) == mod2result )
33 vec4 color = texture( colorMap, textureCoordinates );
34 _gl_FragColor = color;