before the rendertarget