implemented rendertarget definitions, fixed #34