updated VReffect to work with rendermodes