Non Square Textures

Started by JBR, July 30, 2019, 20:39:38

Previous topic - Next topic

JBR

Hi,

I'm thinking of using a 1024 by 256 texture.

I know about using power of 2's but wondering if it will create a 1024 square texture, which adds memory, etc.

Thanks, Jim.

Pakz

With monkey2 in the emscripten target you need the square textures. I think on other targets(non monkey also) being square is nit really needed.

Steve Elliott

Back in the day that would have been a problem, but today just stick to a power of 8 and you should be fine - like your 1024 by 256 example.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

GW

Both dimensions should be power of 2 to prevent resizing, but they don't have to be the same.  4 x 2048 is fine