model: Implement the lapped texture mapping method