1 varying vec3 normal; 2 3 void main(){ 4 gl_FragColor = vec4((normal * vec3(0.5)) + vec3(0.5), 1.0); 5 }