From 76b5cde0b2c60f2830450ed865406bccbe8da506 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 19 Dec 2020 18:16:52 +0100 Subject: [PATCH] Document how to solve UV jittering when using large procedural meshes (cherry picked from commit a86ed339a47ab18eb90461eccc9d2abc3284898c) --- doc/classes/CubeMesh.xml | 1 + doc/classes/PlaneMesh.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/classes/CubeMesh.xml b/doc/classes/CubeMesh.xml index 83cb9d12b6b..222c8445c44 100644 --- a/doc/classes/CubeMesh.xml +++ b/doc/classes/CubeMesh.xml @@ -6,6 +6,7 @@ Generate an axis-aligned cuboid [PrimitiveMesh]. The cube's UV layout is arranged in a 3×2 layout that allows texturing each face individually. To apply the same texture on all faces, change the material's UV property to [code]Vector3(3, 2, 1)[/code]. + [b]Note:[/b] When using a large textured [CubeMesh] (e.g. as a floor), you may stumble upon UV jittering issues depending on the camera angle. To solve this, increase [member subdivide_depth], [member subdivide_height] and [member subdivide_width] until you no longer notice UV jittering. diff --git a/doc/classes/PlaneMesh.xml b/doc/classes/PlaneMesh.xml index 05c5382e9d4..c35ad7d40f6 100644 --- a/doc/classes/PlaneMesh.xml +++ b/doc/classes/PlaneMesh.xml @@ -5,6 +5,7 @@ Class representing a planar [PrimitiveMesh]. This flat mesh does not have a thickness. By default, this mesh is aligned on the X and Z axes; this default rotation isn't suited for use with billboarded materials. For billboarded materials, use [QuadMesh] instead. + [b]Note:[/b] When using a large textured [PlaneMesh] (e.g. as a floor), you may stumble upon UV jittering issues depending on the camera angle. To solve this, increase [member subdivide_depth] and [member subdivide_width] until you no longer notice UV jittering.