Added middle-ground. Added support for transparent pixels in fragment shader.