fixed gl errors
added render.GetCamPos()
added Type and TypeX to null
"unrolled" (generated lua script) the loop that checks shader uniforms