Skip to content

Commit 474f7db

Browse files
committed
fix hdri light wrap mode
1 parent d073178 commit 474f7db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

devices/rtx/scene/light/HDRI.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ void HDRI::finalize()
6868
else
6969
cuArray = m_radiance->acquireCUDAArrayUint8();
7070

71-
m_radianceTex = makeCudaTextureObject(cuArray, !isFp, "linear");
71+
m_radianceTex =
72+
makeCudaTextureObject(cuArray, !isFp, "linear", "repeat", "repeat");
7273

7374
upload();
7475
}

0 commit comments

Comments
 (0)