set rendermode as direct