AlphaHoldout shows a black silhouette in UE 5.7.4 and 5.8.4

Hi everyone,

I’m trying to use AlphaHoldout to cut a hole in a translucent plane so I can see the opaque wall and floor behind it directly in the editor viewport. I first ran into this in UE 5.7.4 and reproduced it in 5.8.4 with Deferred Rendering, DX12 and SM6.

My test scene is an AlphaHoldout cube in front of an orange Translucent plane, with an opaque wall behind the plane. Both materials are Unlit, use Before DOF, and have Opacity = 1. The plane’s Translucency Sort Priority is 0 and the cube’s is 1. Alpha Output and Support Primitive Alpha Holdout (Deferred) are enabled.

With Refraction Method = None on the plane, the cube leaves a black silhouette. In 5.8.4, I got the cutout working by setting the plane’s Refraction Method to Index Of Refraction, setting IOR to 1.01, and running these commands in the Output Log.

r.SeparateTranslucency 1
r.Translucency.StandardSeparated 1

I can then see the wall and floor through the cutout. The black silhouette comes back if I set r.Translucency.StandardSeparated to 0 or switch the plane’s Refraction Method back to None.

The AlphaHoldout section of the docs describes the background showing through the hole. I couldn’t find any mention of these console variables or the distortion pass there. I ended up using GPT to help trace the renderer code and find the workaround, then verified it in my project.

I also found an earlier thread reporting that the effect worked in 5.4 and showed the same black silhouette in 5.5 and 5.6. It sounds like this used to be simpler to set up.

https://forums.unrealengine.com/t/alpha-holdout-not-working-in-ue-5-5-and-5-6-works-fine-in-5-4-urgent-please/2620630

Did the behaviour of AlphaHoldout change between versions? Is there a supported way to get the cutout in the editor viewport with Refraction Method = None on the receiving material? I don’t need refraction for this effect and would like to avoid enabling an extra rendering pass just to get the cutout.

Thanks