Przeglądaj źródła

Document how to solve UV jittering when using large procedural meshes

Hugo Locurcio 4 lat temu
rodzic
commit
a86ed339a4
2 zmienionych plików z 2 dodań i 0 usunięć
  1. 1 0
      doc/classes/BoxMesh.xml
  2. 1 0
      doc/classes/PlaneMesh.xml

+ 1 - 0
doc/classes/BoxMesh.xml

@@ -6,6 +6,7 @@
 	<description>
 		Generate an axis-aligned box [PrimitiveMesh].
 		The box'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 [BoxMesh] (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.
 	</description>
 	<tutorials>
 	</tutorials>

+ 1 - 0
doc/classes/PlaneMesh.xml

@@ -5,6 +5,7 @@
 	</brief_description>
 	<description>
 		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.
 	</description>
 	<tutorials>
 	</tutorials>