Skip to content

Commit

Permalink
Clarifying something
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoC-unity committed Nov 16, 2021
1 parent 860567a commit 31ce9c7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ private void GetContactShadowMask(HDAdditionalLightData hdAdditionalLightData, B
return;

// Evaluate the contact shadow index of this light
contactShadowMask = 1 << m_ContactShadowIndex++;
contactShadowMask = 1 << m_ContactShadowIndex;
m_ContactShadowIndex++; // Update the index for next light that will need to cast contact shadows.

// If this light has ray traced contact shadow
if (hdCamera.frameSettings.IsEnabled(FrameSettingsField.RayTracing) && hdAdditionalLightData.rayTraceContactShadow)
Expand Down

0 comments on commit 31ce9c7

Please sign in to comment.