Fixed shader constants and input for opengl