diff options
author | passivestar <60579014+passivestar@users.noreply.github.com> | 2024-05-15 19:30:14 +0400 |
---|---|---|
committer | passivestar <60579014+passivestar@users.noreply.github.com> | 2024-05-15 19:30:14 +0400 |
commit | d06bce3002921b32319da1d1b3a61f18a64d5bca (patch) | |
tree | 9170acf75be38a16b322728ddac0282515a0a85d /modules/lightmapper_rd | |
parent | ce00392fc35ce639752c710094d87a4311985fb2 (diff) | |
download | redot-engine-d06bce3002921b32319da1d1b3a61f18a64d5bca.tar.gz |
Fix lightmapper seam blending
Diffstat (limited to 'modules/lightmapper_rd')
-rw-r--r-- | modules/lightmapper_rd/lightmapper_rd.cpp | 1 |
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); } |