From 2f1d40367acbc78f2d029fa68bdb02ee2626afc2 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. --- doc/classes/SurfaceTool.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/SurfaceTool.xml b/doc/classes/SurfaceTool.xml index 385e31ccc78..4f02cd00dd3 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 BaseMaterial3D.vertex_color_use_as_albedo] enabled for the vertex color to be visible.