4 * Copyright (C) 2010 - 2015 Leonid Kostrykin
6 * Chair of Medical Engineering (mediTEC)
7 * RWTH Aachen University
14 uniform sampler2D colorMap;
15 uniform int mod2result;
17 in vec2 textureCoordinates;
19 out vec4 gl_FragColor;
22 // ----------------------------------------------------------------------------------
24 // ----------------------------------------------------------------------------------
28 if( mod( int( gl_FragCoord.y + 0.5 ), 2 ) == mod2result )
30 vec4 color = texture( colorMap, textureCoordinates );