In Memory Usage what is LumAlpha?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mrfatalo

Hi everyone, I’m new to the program and programming.
I apologize if the question may seem stupid.
What is, in the list of resources in memory, 2048x2048 LumAlpha?
Why does it consume 99% of my memory?

enter image description here

:bust_in_silhouette: Reply From: Calinou

LumAlpha stands for Luminance + Alpha, and takes 16 bits per pixel (8 bits of luminance + 8 bits of alpha). It’s a grayscale texture with an alpha channel for transparency.

The texture takes 8 MB of memory because it’s 2048×2048, which is quite large when it’s sent uncompressed* to the GPU. For desktop platforms, 8 MB is reasonable, but it’s probably a bit too large when targeting mobile devices.

*: The texture is sent uncompressed to the GPU if its compression mode is Lossless, Lossy or Uncompressed. The texture is only sent compressed to the GPU if its compression mode is VRAM Compressed.

Thank you for the explanation, now its more clear.
I have also found the official documentation:

mrfatalo | 2022-08-07 21:11

How can i manage to find where this texture comes from?
I have two same textures but its blank text in “resource path”.
Maybe its gradient resource which will be added in some node?

Wacyym | 2022-11-04 21:08

Godot reports also internal textures within the VRAM profiler, so not all textures have an actual path to be mapped to. There is usually no way to control how these textures are created, other than disabling certain effects.

Calinou | 2022-11-04 21:09