varying vec3 lightVect; void main() { float a= length(lightVect); gl_FragColor = vec4(a, a * a, 0.0, 0.0); }