Fix normal of cap for tubes, simplifiy the category of render technique