#version 330 in vec4 position; out float mx; void main(){ gl_Position = vec4(1); gl_Position.xy = 0.04*position.xy; mx = cos(0.1337*position.z); }