The code was missing necessary tags which was causing GLSL compile errors when used. This fixes that issue.