From 059ba23f728496d0ed6f9fe48104e3bb79fdbd29 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 25 Oct 2021 16:52:58 +0200 Subject: [PATCH] Document `Image.FORMAT_R8` stores in alpha channel instead in GLES2 --- doc/classes/Image.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 60cc13fb628..101fe309d6d 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -434,6 +434,7 @@ OpenGL texture format [code]RED[/code] with a single component and a bitdepth of 8. + [b]Note:[/b] When using the GLES2 backend, this uses the alpha channel instead of the red channel for storage. OpenGL texture format [code]RG[/code] with two components and a bitdepth of 8 for each.