Modding:Fixing UV errors

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search

Bgwiii.png CommunityGuidesModding

Modding guides
Modding resources

As of Full Release and the making of this plugin by Norbyte the below steps are not required when directly exporting as GR2 from blender. However if you wish to export as DAE and come across UV errors the below will work.

This tutorial is from a post shared by tyvianpear in the DbtR Discord server.

Steps[edit | edit source]

  1. Open two instances of Blender; 2.79b and 3.X (latest)
  2. Install LaughingLeaders' Blender Helpers for 2.79b into 2.79b
  3. Open your model in 3.X first
  4. Copy and paste the entire model and all its meshes into 2.79b
  5. Minimize (or close) 3.X, we won't need it again until the end
  6. Open up another window next to the Properties Tab by pulling on one of the stripped triangles in the top corner
  7. In the new window, click on the Properties button under the Project Outline, choose UV/Image Editor

Uv error 1.webp

  1. Click on the mesh you want to check first (to be on the safe side go through each mesh one by one)
  2. Hit TAB to go into Edit mode
  3. Click on the vertical Helpers tab and make sure that the Select All Problems box is checked
  4. Click on Check UV Triangles

Uv error 2.webp

  1. At the very top of Blender, you'll see a notification telling you how many UV problems were found. They will also highlight them in orange on your mesh and in the graph on the right

Uv error 3.webp

  1. To the left of your model, you'll see Remove Doubles in the Tools tab
  2. Click on it and you'll see a message at the top, Removed 0 vertices because the merge distance is too short to combine any of the overlapping vertices
  3. Try changing the merge distance incrementally as small as possible. Somewhere around 0.0004 you'll see Removed X vertices at the top
  4. Keep an eye on your mesh and make sure it's not getting too distorted
  5. After each vertex removal/merge, select and deselect (CTRL-A in edit mode) the mesh and repeat the earlier steps of Check UV Triangles and Remove Doubles of vertices

Uv error 4.webp

  1. Not all UV errors will show up on the graph, so keep an eye on the notification at the top that tells you how many UV errors you have
  2. When you've merged all the vertices causing problems, you'll see No UV problems found at the top

Uv error 5.webp

  1. After you have done this for each mesh in your model, copy and paste the entire thing back into 3.X
  2. Export as .DAE