Set shader type based on geometry type.