Skip to content

Commit

Permalink
Merge branch 'xbei/sss_fix' into 'main'
Browse files Browse the repository at this point in the history
Fix SSS green artifact bug

See merge request lightspeedrtx/dxvk-remix-nv!592
  • Loading branch information
xbei-nv committed Nov 21, 2023
2 parents 2735911 + e4f7f7b commit 217c5a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dxvk/shaders/rtx/utility/gbuffer_helpers.slangh
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ void polymorphicSurfaceMaterialInteractionWriteToGBuffer(
uint16_t(polymorphicSurfaceMaterialInteraction.bdata1) // volumetricAnisotropy
);
}
else
{
subsurfaceDataTexture[position] = uint4(0, 0, 0, 0);
}
}
}

Expand Down

0 comments on commit 217c5a9

Please sign in to comment.