May 30, 2020, 04:11:41 AM

Author Topic: Non Square Textures  (Read 598 times)

Offline JBR

  • Jr. Member
  • **
  • Posts: 93
Non Square Textures
« on: July 30, 2019, 08:39:38 PM »
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.

Offline Pakz

  • Full Member
  • ***
  • Posts: 180
    • My homepage
Re: Non Square Textures
« Reply #1 on: July 30, 2019, 08:50:22 PM »
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.

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 2450
Re: Non Square Textures
« Reply #2 on: July 30, 2019, 08:55:07 PM »
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.
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspberry pi 3 and 4.

Offline GW

  • Full Member
  • ***
  • Posts: 199
Re: Non Square Textures
« Reply #3 on: July 30, 2019, 09:04:16 PM »
Both dimensions should be power of 2 to prevent resizing, but they don't have to be the same.  4 x 2048 is fine

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal