Skip to content

Commit 217c5a9

Browse files
committed
Merge branch 'xbei/sss_fix' into 'main'
Fix SSS green artifact bug See merge request lightspeedrtx/dxvk-remix-nv!592
2 parents 2735911 + e4f7f7b commit 217c5a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/dxvk/shaders/rtx/utility/gbuffer_helpers.slangh

+4
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ void polymorphicSurfaceMaterialInteractionWriteToGBuffer(
224224
uint16_t(polymorphicSurfaceMaterialInteraction.bdata1) // volumetricAnisotropy
225225
);
226226
}
227+
else
228+
{
229+
subsurfaceDataTexture[position] = uint4(0, 0, 0, 0);
230+
}
227231
}
228232
}
229233

0 commit comments

Comments
 (0)