Glsl function - add ModularProgram

Correct.. I'll try to figure out what I was trying to accomplish there.