Fix lightmapper seam blending

This commit is contained in:
passivestar 2024-05-15 19:30:14 +04:00
parent ce00392fc3
commit d06bce3002
1 changed files with 1 additions and 0 deletions

View File

@ -428,6 +428,7 @@ void LightmapperRD::_create_acceleration_structures(RenderingDevice *rd, Size2i
SWAP(edge.a, edge.b); SWAP(edge.a, edge.b);
SWAP(edge.na, edge.nb); SWAP(edge.na, edge.nb);
SWAP(uv2.a, uv2.b); SWAP(uv2.a, uv2.b);
SWAP(uv2.indices.x, uv2.indices.y);
SWAP(edge_indices.x, edge_indices.y); SWAP(edge_indices.x, edge_indices.y);
} }