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.

KTX2 compressed with basisu etc1s and transparent looks lighter between r132 and r133

See original GitHub issue

KTX2 compressed with basisu and transparent looks lighter between r132 and r133

toktx compression command line toktx --t2 --2d --genmipmap --encode etc1s --lower_left_maps_to_s0t0 --verbose ss-gallery_1_512_rounded.ktx2 ss-gallery_1_512_rounded.png

in r132 we use texture.encoding = THREE.sRGBEncoding;

Expected behavior

looks same on r132 and r133

Screenshots r133 Bildschirmfoto von 2021-09-30 15-34-59

r132 Bildschirmfoto von 2021-09-30 15-34-53

Platform:

  • Device: Desktop
  • OS: Linux
  • Browser: Chrome
  • Three.js version: r133

cc @donmccurdy

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
donmccurdycommented, Oct 4, 2021

There are several examples in the three.js website using KTX2, that haven’t become washed out like these screenshots. So there’s something specific about the application and/or textures here, and we won’t be able to debug it from screenshots. It could even be device-specific like https://github.com/mrdoob/three.js/issues/22631… if you can share some of the .ktx2 files you’re asking about, I would recommend starting a thread on the forums.

2reactions
mrdoobcommented, Oct 4, 2021

That’s expected. The darkening was incorrect: #22551

Read more comments on GitHub >

github_iconTop Results From Across the Web

KTX2 Compressed Textures - Babylon.js Documentation
Currently, the universal representation is generated by using a compression algorithm known as Basis Universal, or BasisU for short, created by a company...
Read more >
Universal GPU Compressed Textures for glTF using KTX 2.0
KTX 2.0 textures with Basis Universal supercompression and the glTF. KHR_texture_basisu extension are here! Enables glTF assets with compact, high-quality ...
Read more >
KTX2 & Basis Textures - Unity Forum
This new file type is a supercompressed texture, which means you only need to build it once, and then an importer can convert...
Read more >
Introducing ZenCompress for glTF - Medium
The benefits of BASIS/KTX2 compression can be huge: creators can expect between ... Further, creators can choose between ETC1S, which is more efficient...
Read more >
Support KTX2 Texture Compression Format - Google Groups
gpu raster is enabled by default;. 2. Basis Universal compression technology introduced in KTX2 can cross platform;. 3. ETC1S / ASTC can get ......
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