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