summaryrefslogtreecommitdiffstats
path: root/modules/lightmapper_rd
diff options
context:
space:
mode:
authorpassivestar <60579014+passivestar@users.noreply.github.com>2024-05-15 19:30:14 +0400
committerpassivestar <60579014+passivestar@users.noreply.github.com>2024-05-15 19:30:14 +0400
commitd06bce3002921b32319da1d1b3a61f18a64d5bca (patch)
tree9170acf75be38a16b322728ddac0282515a0a85d /modules/lightmapper_rd
parentce00392fc35ce639752c710094d87a4311985fb2 (diff)
downloadredot-engine-d06bce3002921b32319da1d1b3a61f18a64d5bca.tar.gz
Fix lightmapper seam blending
Diffstat (limited to 'modules/lightmapper_rd')
-rw-r--r--modules/lightmapper_rd/lightmapper_rd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/lightmapper_rd/lightmapper_rd.cpp b/modules/lightmapper_rd/lightmapper_rd.cpp
index cc2fa18449..7ac7bd8088 100644
--- a/modules/lightmapper_rd/lightmapper_rd.cpp
+++ b/modules/lightmapper_rd/lightmapper_rd.cpp
@@ -428,6 +428,7 @@ void LightmapperRD::_create_acceleration_structures(RenderingDevice *rd, Size2i
SWAP(edge.a, edge.b);
SWAP(edge.na, edge.nb);
SWAP(uv2.a, uv2.b);
+ SWAP(uv2.indices.x, uv2.indices.y);
SWAP(edge_indices.x, edge_indices.y);
}