OpenGL2: Speed up fog shader slightly.