render.material
is only used if the render component is using a primitive shape. RenderComponent | PlayCanvas API Reference
The entity created from the GLB asset will be using type asset as it’s a mesh.
This is how I would load and apply the textures to the material of the GLB meshes
https://playcanvas.com/project/974105/overview/f-loadmodelurl