Learning to write graphics shaders is learning to leverage the power of the GPU, with its thousands of cores all running in parallel. It's a kind of programming that requires a different mindset, but unlocking its potential is worth the initial trouble.
Source files for the Tuts+ series: A Beginner's Guide to Coding Graphics Shaders