Jump to content

Texture upscaling and powers of two


drarem
 Share

Recommended Posts

If powers of 2 was obsolete with opengl 2+, why are we still using it with the required opengl4?

 

Case in point, I looked at a PNGs I copied to my image leadwerks folder with resolution of 1600x900. It becomes 2048x1024 as a .tex file according to when i click the info button in assets. This causes some barely noticeable blurriness when downscaled back to a 1600x900 window.

 

Thanks.

Link to comment
Share on other sites

The default in LE is to convert the image to DXT1 which will scale the image to the closest power of 2 size. All of the DXT-compression options (and adding mipmaps) will do this. Just change the image compression back to 'Uncompressed', uncheck 'generate mipmaps', and then save the file, and the *.tex image will go back to the original size.

  • Upvote 3

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...