From 6e9de8211014cca54d4fdf54f95e519e91848974 Mon Sep 17 00:00:00 2001 From: Mikhail Volodin <141241717+MikhailY0U@users.noreply.github.com> Date: Tue, 2 Jul 2024 21:31:29 +0300 Subject: [PATCH] Clarify that the `Mesh.ARRAY_NORMAL` array will normalize its contents internally --- doc/classes/Mesh.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Mesh.xml b/doc/classes/Mesh.xml index 6b5a50d97b9..7f4dd5af375 100644 --- a/doc/classes/Mesh.xml +++ b/doc/classes/Mesh.xml @@ -223,6 +223,7 @@ [PackedVector3Array] of vertex normals. + [b]Note:[/b] The array has to consist of normal vectors, otherwise they will be normalized by the engine, potentially causing visual discrepancies. [PackedFloat32Array] of vertex tangents. Each element in groups of 4 floats, first 3 floats determine the tangent, and the last the binormal direction as -1 or 1.