Hello,
I try to load a RAW texture that I have in DTX1 format. I don't found a way to load a RAW texture. I try to load as image but log an error loading
int format = ::Unigine::Image::FORMAT_DXT1;
::Unigine::ImagePtr image = ::Unigine::Image::create();
image->create2D(textureSize, textureSize, format);
const ::Unigine::Ptr<::Unigine::Blob> stream = ::Unigine::Blob::create();
stream->write(textureData, textureLen); // textureData=RAW DTX1 Buffer, textureLen=size
image->load(stream->getStream());
/roberto