Update README.md

This commit is contained in:
Rich Geldreich
2026-02-10 13:01:31 -05:00
committed by GitHub
parent a978ccdabf
commit bca71f9a02

View File

@@ -23,6 +23,8 @@ See `run.bat` for the command line on how to run the sample. Or run:
py -3.12 testbed.py shader.glsl 12 12 flower_unpacked_rgb_ASTC_LDR_12X12_RGBA_level_0_face_0_layer_0000.png flower_unpacked_rgb_ASTC_LDR_12X12_RGBA_level_1_face_0_layer_0000.png flower_unpacked_rgb_ASTC_LDR_12X12_RGBA_level_2_face_0_layer_0000.png flower_unpacked_rgb_ASTC_LDR_12X12_RGBA_level_3_face_0_layer_0000.png flower_unpacked_rgb_ASTC_LDR_12X12_RGBA_level_4_face_0_layer_0000.png
```
Depending on your setup you may need to use 'python' or 'python3' etc.
The shader can be easily simplified to sample the texture less by using less taps. The current shader uses a total of 9 taps, but 5 are possible.
Many variations and optimizations of this basic idea are possible.