From a5f98e915ce699d517393024edc6933e5ede0a23 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 28 Sep 2020 00:45:12 +0200 Subject: [PATCH] Document how to display the vertex color in `SurfaceTool.add_color()` This closes https://github.com/godotengine/godot-docs/issues/4083. (cherry picked from commit 2f1d40367acbc78f2d029fa68bdb02ee2626afc2) --- doc/classes/SurfaceTool.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/SurfaceTool.xml b/doc/classes/SurfaceTool.xml index 177c2346c19..9b9c9e9e4a3 100644 --- a/doc/classes/SurfaceTool.xml +++ b/doc/classes/SurfaceTool.xml @@ -38,6 +38,7 @@ Specifies a [Color] for the next vertex to use. + [b]Note:[/b] The material must have [member SpatialMaterial.vertex_color_use_as_albedo] enabled for the vertex color to be visible.