We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ac961d + c2c41d1 commit 912a614Copy full SHA for 912a614
src/dxvk/shaders/rtx/algorithm/resolve.slangh
@@ -581,7 +581,7 @@ void resolveVertex<T: IBasePayloadState>(
581
582
// Render Portal outline
583
{
584
- const bool portalFadeInEffect = cb.enablePortalFadeInEffect;
+ const bool portalFadeInEffect = cb.enablePortalFadeInEffect && rayPortalSurfaceMaterial.maskTextureIndex != BINDING_INDEX_INVALID;
585
const float16_t tFactor = portalFadeInEffect ? float16_t((surface.tFactor >> 24) & 0xff) / 255.0 : float16_t(0.0);
586
const float16_t ringTransparency =
587
saturate(float16_t(1) - rayPortalSurfaceMaterialInteraction.mask.a) *
0 commit comments