Group Renderparts by material to speed up the gui render

Signed-off-by: Karang <arthur.hennequin@free.fr>