generateUVRaw: Add support for 'raw' output