project line trace hit to canvas

Btw is there a way to let the drawing peristent for a while on the render texture ?