refactoring of rendertarget parts