Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Jose on August 25, 2013, 04:29:05 PM
-
Hi,
I'm wondering if there's any difference (performance speaking) maintaining the width and size of an image in powers of two if the video card need them that way. For example, is there any improvement in performance saving images 512x512 size instead 350x225?
Thanks in advance.
-
Hi,
I'm wondering if there's any difference (performance speaking) maintaining the width and size of an image in powers of two if the video card need them that way. For example, is there any improvement in performance saving images 512x512 size instead 350x225?
Thanks in advance.
Hi,
Image of 350x225 pixels in the videomemory automatically will be converted to 512x256 texture.
512 is the next power of 2 value after 350. 256, accordingly - after 225.
So manually you don't need to do anything (or you may try to decrease size of images).
-
Thanks for answering 2.0, you're right a 350x225 image will be converted to 512x256 not to 512x512. So, there's no performance gain in saving the image in 512x256?
-
Thanks for answering 2.0, you're right a 350x225 image will be converted to 512x256 not to 512x512. So, there's no performance gain in saving the image in 512x256?
I think, no.
-
Thank you very much 2.0!