From 62bbd5a0e2fa47db52932d0a34067ecda86eaa74 Mon Sep 17 00:00:00 2001 From: jsjtxietian Date: Tue, 30 Jul 2024 15:03:06 +0800 Subject: [PATCH] Mention Multimesh custom data will be compressed to half in Compatibility --- doc/classes/MultiMesh.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/MultiMesh.xml b/doc/classes/MultiMesh.xml index 406aacc75caa..f1323b73bf3f 100644 --- a/doc/classes/MultiMesh.xml +++ b/doc/classes/MultiMesh.xml @@ -65,7 +65,7 @@ - Sets custom data for a specific instance. [param custom_data] is a [Color] type only to contain 4 floating-point numbers. + Sets custom data for a specific instance. [param custom_data] is a [Color] type only to contain 4 floating-point numbers. Note each number is stored in 32 bits in the Forward+ and Mobile rendering methods, but is packed into 16 bits in Compatibility. For the custom data to be used, ensure that [member use_custom_data] is [code]true[/code]. This custom instance data has to be manually accessed in your custom shader using [code]INSTANCE_CUSTOM[/code].