ASTC Direct from Flash #159
-
|
Hi Rudolph, I've been working with displaying ASTC images direct from flash using: This works great for monochrome images (with alpha), but as soon as I try to load anything containing colour I get solid blocks of black where I expect the image detail. The shape is maintained (since it also contains alpha), but it's filled in with black. In EAB 2.12.2 I'm using ASTC_4x4, "thorough" preset, with multi-cell disabled. Any ideas? I'm preferring not to load into RAM_G if possible, it saves the headache of partitioning everything. Cheers. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi, that should be working, yes, the last issue I had was with transparency when converting, with the images before converting. Loading from RAM_G or Flash also should make no difference, within the limits of the bandwidth of the external flash though. I did this a few years ago: https://github.com/RudolphRiedel/EVE_ASTC_Test_Arduino_PlatformIO |
Beta Was this translation helpful? Give feedback.
-
Ahah! Yes, that works. Thanks :) I totally missed this requirement. For anyone else who might read this: Programming Guide Section 2.10.6 – Color and Transparency
|
Beta Was this translation helpful? Give feedback.
Ahah! Yes, that works. Thanks :) I totally missed this requirement. For anyone else who might read this:
Programming Guide Section 2.10.6 – Color and Transparency
The COLOR_RGB setting acts as a multiplier for the bitmap color. To render the bitmap as-is, set COLOR_RGB to white (255,255,255).