question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DXT internal format size missing

See original GitHub issue

Thanks from PixiJS team for a wonderful tool!

I’m debugging an app with big number of .dds resources, and I found that baseRecorder doesnt contain the size for most of compressed texture formats.

https://github.com/BabylonJS/Spector.js/blob/1313c95a0e416ce17c7f404c3bf47a731e5a4554/src/backend/recorders/baseRecorder.ts#L23

In my case its COMPRESSED_RGBA_S3TC_DXT5_EXT.

The size is defaulting to 4: https://github.com/BabylonJS/Spector.js/blob/1313c95a0e416ce17c7f404c3bf47a731e5a4554/src/backend/recorders/baseRecorder.ts#L200

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ivanpopelyshevcommented, Jan 28, 2020

I’m on it

0reactions
ivanpopelyshevcommented, Jan 29, 2020

Btw, its not a bug. According to what I saw in the source code - its more of a feature-request.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image Format - OpenGL Wiki - Khronos Group
An Image Format describes the way that the images in Textures and renderbuffers store their data. They define the meaning of the image's ......
Read more >
DXT compression explained - FSDeveloper Wiki
You have probably noticed that the DXT compressed textures always have the same size. This is because they have a fixed compression ratio....
Read more >
Textures - Bohemia Interactive Community Wiki
Each mipmap is compressed using internal compression - if the ratio between compressed and original size is less than this ratio, mipmap is ......
Read more >
DXT Texture Compression in 2018 - Game Developer
If your texture isn't a multiple of four in size, the size is rounded up. Each DXT1 block compresses down to 64 bits...
Read more >
Using ASTC Texture Compression for Game Assets
This is especially the case if previously you have avoided using DXT on specific assets; you might now try ASTC formats vs leaving...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found