Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ComanderKai77 |
I want to use a ItemList and have a text and a small Texture with one Color.
How can I create a texture in blue for example via code?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ComanderKai77 |
I want to use a ItemList and have a text and a small Texture with one Color.
How can I create a texture in blue for example via code?
Reply From: | ComanderKai77 |
https://www.reddit.com/r/godot/comments/72eei6/create_imagetexture_via_code/
I used this code and change the format from FORMAT_DXT5 to FORMAT_RGBA8 and now it is working.