Skip to content

Commit 20c3530

Browse files
belgaardEvergreen
authored andcommitted
Backport to U6: Allow the user to untick hardware ray tracing
1 parent c8e2a11 commit 20c3530

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Packages/com.unity.render-pipelines.core/Editor/PathTracing/BakeInputSerialization.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ internal struct LightingSettings : IBakeInputVisitable
250250
public MixedLightingMode mixedLightingMode;
251251
public bool aoEnabled;
252252
public float aoDistance;
253+
public bool useHardwareRayTracing;
253254

254255
public void Transfer(IBakeInputVisitor visitor)
255256
{
@@ -261,6 +262,7 @@ public void Transfer(IBakeInputVisitor visitor)
261262
visitor.TransferBlittable(ref mixedLightingMode);
262263
visitor.TransferBoolean(ref aoEnabled);
263264
visitor.TransferBlittable(ref aoDistance);
265+
visitor.TransferBlittable(ref useHardwareRayTracing);
264266
}
265267
}
266268

0 commit comments

Comments
 (0)