mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 08:33:53 +00:00
Update README with shader optimization details
Added information about using textureQueryLod() and textureSize() for shader simplification.
This commit is contained in:
@@ -46,7 +46,7 @@ The shader can be easily simplified to sample the texture less by using less tap
|
||||
|
||||
Many variations and optimizations of this basic idea are possible. *Now shader engineers can directly impact memory consumption.* The better your deblocking shaders are tuned or your specific content, the bigger the ASTC block size you can ship. ASTC texture deblocking pixel shader engineering is now a memory optimization skill.
|
||||
|
||||
A simpler, [faster 5 tap filter variant is here](https://pastebin.com/jsF6nUZg). In practice, this usually looks just as good on most textures/images.
|
||||
A simpler, [faster 5 tap filter variant is here](https://pastebin.com/jsF6nUZg). In practice, this usually looks just as good on most textures/images. ` textureQueryLod()` and `textureSize()` could also be used (with some API's) to simplify the shader further.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user