started masks in gl, broken stage3d