path tracing AMD improvement #1142

This commit is contained in:
Turánszki János
2025-07-01 06:44:07 +02:00
parent 12dd20dee7
commit 1b9ef603a1
+1 -1
View File
@@ -350,7 +350,7 @@ void main(uint3 DTid : SV_DispatchThreadID, uint groupIndex : SV_GroupIndex)
{
RayDesc newRay;
newRay.Origin = surface.P;
newRay.TMin = 0.001;
newRay.TMin = 0.01;
newRay.TMax = dist;
newRay.Direction = normalize(L + max3(surface.sss));