#version 150 out float w; void main(void) { qgl_FragTexture = qgl_Texture; vec4 pos = qgl_ftransform(); w = pos.w; gl_Position = pos; }