Visualizing functions with 3 variables using volumetric shaders in PyOpenGL