소스 검색

Fix lightmapper seam blending

passivestar 1 년 전
부모
커밋
d06bce3002
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      modules/lightmapper_rd/lightmapper_rd.cpp

+ 1 - 0
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);
 				}