From 95d0b2c49aab7d25bb493402e593e73d3ca25b47 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:21:01 +0000 Subject: [PATCH] Created Custom Textures (markdown) --- Custom-Textures.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Custom-Textures.md diff --git a/Custom-Textures.md b/Custom-Textures.md new file mode 100644 index 0000000..bb2e50b --- /dev/null +++ b/Custom-Textures.md @@ -0,0 +1,26 @@ +Custom textures are accepted in the form of DDS files. + +## What is a DDS file? + +DDS is a container format for GPU-native textures. The image data is ready to be uploaded to the GPU. + +The image data of a DDS file can use various compression methods, with some methods focusing on specific use cases. + +## Convert standard picture to DDS using Texpresso + +[Texpresso](https://github.com/jansol/texpresso) is available via Cargo: +```bash +cargo install texpresso_cli +``` + +Usage example: +```bash +texpresso compress --format BC3 path/to/image.png +``` + +The resulting .dds file can then be used with WlxOverlay-S. + +## Recommended Formats: + - `BC1`: RGB with no transparency + - `BC3`: Has transparency, but takes twice the memory as BC1 + - `BC7`: Same characteristics as BC3, but higher quality (Not supported by Texpresso) \ No newline at end of file