added update mouseup/mousedown
fixed points, added material check on color buffer pass