prepared the stage for glsl