Comments (6)
(Note: we recognize this is likely the same issue as #41 - but still wondering if there are any potential improvements to be had in cases like this. Thanks very much in advance for looking.)
from basis_universal.
Same issue.. I compressed using compressonator to ETC1, so color mismatch is probaly not a basis issue - it's ETC1 issue, so transcoding to something better (maybe to BC5 or 7) on desktop would be preferrable. Let it occupy more space on videocard but correct colors seem more important
from basis_universal.
This texture has highly saturated gradients that occur over small spatial areas, which is one of ETC1S's key weaknesses. ETC1S can't encode saturated gradients at the pixel level, because it can only vary the luma within a block. For a red gradient, we can't vary the luma within the block because that would cause the pixels to become desaturated away from red.
Full ETC1 would look a little better, because it has 4x2 or 2x4 subblocks, but it still would have some blockiness at the subblock level. This problem is particularly obvious on some videos.
One workaround for problems like this is to enlarge the source texture, by 200 or 400%, then encode that. The gradient would then be spread between more blocks, but this will cost bitrate and increase transcode time.
For the 3rd major Basis Universal milestone we are adding a higher quality mode to the system. We're not exactly sure what we're going to do yet, but we'll definitely be fixing this problem.
from basis_universal.
Thanks for the detailed breakdown of the problem!
from basis_universal.
@richgel999 I'm really looking forward to higher quality mode, please update if you have any news about it.
In my case, I want to use Basis for lightmap but the artifacts and color banding are too much to be useable, even at the highest quality (the quality seems to be degraded a lot compared to DXT1?).
from basis_universal.
We hear you! We're working on a system that uses a very strong subset of ASTC as a base, which can be transcoded to a variety of formats. It'll be a lot higher quality than the ETC1S system that basisu uses today.
from basis_universal.
Related Issues (20)
- Colors become lighter when transcoding .basis to .ktx HOT 3
- Some questions after reading some source codes
- Will OpenCL 3.0 improve compression performance? HOT 1
- How to encode HDR format resource? HOT 1
- Webssembly version does not support jpg format HOT 1
- rename HOT 2
- Selecting which transcoders to use
- Is it possible ETC1S without lossy compression ?
- RuntimeError when encoding to UASTC with WASM HOT 1
- Transcode failure on iOS 17 HOT 3
- shrinking wasm for glTF extension support HOT 1
- build_emscripen.sh script error
- Error when I cross compile for arm64 under Windows HOT 2
- Does this project with WebGPU (web)? HOT 1
- Add prefix to cmake options
- losinglena.com domain expired HOT 1
- Setup documentation to remove etc1 global codebook selector
- Compile error in cppspmd_sse.h with C++23 HOT 1
- Remove reference to etc1_global_selector_codebook from transcoder wiki page HOT 2
- Balck Textures on android HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basis_universal.