Jump to content

What is the best way to realize Texture compression?


photo

Recommended Posts

Hello,

at the moment we are loading textures from uncompressed tga files.

We are reaching the limit now for our application (OpenGL complains when allocating more than 4GB video ram for 32 bit applications on a 1080Ti 11GB) and sometimes framebuffers get incomplete.

Ram usage is about 1 GB at the moment.

What is the best way to initalize texture compression on program start, because I found no entry in the help file or forum so far.

Thanks in advance

Link to comment

Sebastian,

The best way is to compress textures on import via Editor and then use compressed textures in your project. There is also an option to compress via GPU (Render::CompressTexture) or ImageDDS tool (slow CPU compression).

There are also set of 3rd party compressors (nVidia Texutre Tools, AMD Compressonator, Intel Texture Works plugin for Photoshop)

To compress textures with an Editor just drag and drop them into the asset browser. After that you can still use path to .tga texture in the code (please, check this article: https://developer.unigine.com/en/docs/2.7.1/principles/filesystem/?words=asset#assets_runtimes).

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...