This introduces the method of Volume Rendering using obsolete API of OpenGL. But now, I want to complete the Volume Rendering using GLSL and I have finished some parts of it. My question is how to do the blending. In the above link, blending is completed by the following codes: introduces the method of Volume Rendering