Ported materials example to Qt Canvas 3D.