implement crossing detection of sphere and trimesh
implement shader