Various rendering techniques can be used in fragment shaders. They make a quick and easy place to implement rendering algorythms.