[SOLVED] Image quality problem
Posted: Mon Mar 02, 2009 3:59 pm
Hello,
I want the GUI to draw an image, then I do the following :
My Image looks like that in Photoshop :
But it looks like that in Irrlicht...
It does the same if I remove the setTextureCreationFlags.
Can someone explain me where does it come from please ?
Thanks !
I want the GUI to draw an image, then I do the following :
Code: Select all
char logoPath[1024];
sprintf(logoPath, "%s/assets/watermark.png", Path);
Driver->setTextureCreationFlag (ETCF_CREATE_MIP_MAPS, false);
Driver->setTextureCreationFlag (ETCF_OPTIMIZED_FOR_QUALITY, true);
waterMark = GUI->addImage(Driver->getTexture (logoPath), position2d< s32 >(0,0), true);
Driver->setTextureCreationFlag (ETCF_CREATE_MIP_MAPS, true);
Driver->setTextureCreationFlag (ETCF_OPTIMIZED_FOR_QUALITY, true);
But it looks like that in Irrlicht...
It does the same if I remove the setTextureCreationFlags.
Can someone explain me where does it come from please ?
Thanks !