Tried it with a sphere model but I can't get the material on it.
I named the material like the model file (sphere_mdl) and set d3d_automaterial to 1 but that all has no effect :/

Beside that I need the shader for geometries as well.

Can anyone help?