#version 110 // example shader // nothing much doing! uniform sampler2D texture1; uniform float fragFloatU; varying float z; void main (void) { gl_FragColor = vec4(z, texture2D(texture1,vec2(z,z)).a, fragFloatU, 1); }