Have you set d3d_automaterial to ON?