# \[UE 5.8.1\]\[D3D12\] Rough refraction destroys the scene-capture alpha channel 

**URL:** <https://forums.unrealengine.com/t/ue-5-8-1-d3d12-rough-refraction-destroys-the-scene-capture-alpha-channel/2753870>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine\
**Created:** [September 1, 2026, 5:09pm UTC](https://forums.unrealengine.com/t/ue-5-8-1-d3d12-rough-refraction-destroys-the-scene-capture-alpha-channel/2753870 "2026-09-01T17:09:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![K1tti](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@K1tti](https://forums.unrealengine.com/u/K1tti)\
**Post date:** [September 1, 2026, 5:09pm UTC](https://forums.unrealengine.com/t/ue-5-8-1-d3d12-rough-refraction-destroys-the-scene-capture-alpha-channel/2753870/1 "2026-09-01T17:09:58Z")

</div>

### Summary

# Rough refraction destroys the scene-capture alpha channel

## Summary

With Substrate and Alpha Output enabled, a translucent material that uses the `Index of Refraction` refraction method writes an alpha of 1.0 (“nothing here”) into scene colour when it is rendered through a `SceneCaptureComponent2D`. The object disappears completely from the captured alpha, so it cannot be composited. `r.Refraction.Blur 0` avoids the problem.

### What Type of Bug are you experiencing?

Rendering (Graphics / Niagara)

### Steps to Reproduce

1. Create a project with the next settings:
  - `r.PostProcessing.PropagateAlpha=True` (Alpha Output)
  - `r.Substrate=True`
  - `r.Substrate.OpaqueMaterialRoughRefraction=True`
  - `r.Refraction.Blur=1`

2. Create a Substrate material. Set Blend Mode to `Translucent`. Set Refraction Method to `Index of Refraction`. Set the refraction value to 0.7 and Opacity to 0.7.
3. Place a cube with that material in front of opaque geometry, for example a landscape.
4. Place a `SceneCapture2D` that frames the cube against the opaque geometry.
5. Set its Capture Source to `Final Tone Curve HDR`, and its render target to an RGBA8 target.
6. Capture the scene and check the alpha channel of the render target.

### Expected Result

The cube has a wrong Alpha (fully transparent) in the SceneCapture render target.

### Observed Result

The alpha of the cube’s pixels is 1.0, which means “no coverage”. When the render is composited over another background, the cube and the geometry behind it both disappear.

### Affects Versions

5.8  
5.7

### Platform(s)

Windows

### Upload an image

 ![RenderTarget.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/a/efae55de2f4d0b437f03f9970495d32087722266.png) ![Viewport.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/5/db54f2efac677cde1bca8883a28751ee4d5ca6be.png)

### Additional Notes

The fault is already present in `Scene Color HDR`, before post-processing. Post-processing, the capture source and the tonemapper are therefore not involved.

The following make no difference. Each one was measured:

- Anti-aliasing method (TSR, FXAA, none)
- `r.Translucency.StandardSeparated`
- `r.SeparateTranslucency`
- `r.Refraction.Blur.TemporalAA`
- `r.Refraction.OffsetQuality`
- Render resolution (480x270 and 1920x1080)
- `bAlwaysPersistRenderingState` on the capture component
- Primitive alpha holdout (`r.Deferred.SupportPrimitiveAlphaHoldout` is off in all tests)

A primary view that renders the same frame reports the material’s transmittance in the alpha instead  
of 1.0, so the fault appears to be specific to the scene-capture path. This part is an observation  
from image measurements, not from a GPU capture.

#### Suspected cause (hypothesis, not verified with a GPU capture)

`DistortionRendering.cpp:560` creates the rough-refraction scene-colour mip chain with the format  
`PF_FloatR11G11B10`, which has no alpha channel:

```cpp
FRDGTextureDesc SceneColorMipchainDesc = FRDGTextureDesc::Create2D(
    SceneColorMip0Resolution, PF_FloatR11G11B10, FClearValueBinding::None, ...);

```

The distortion Apply pass binds that texture as `SceneColorTexture`  
(`DistortionRendering.cpp:897-898`) and samples it (`DistortApplyScreenPS.usf:173`). A sample from a  
texture without an alpha channel returns alpha 1. The Merge pass then writes the result, alpha  
included, into scene colour.

---

<div class="post-metadata">

**Author:** ![DenisPereladov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DenisPereladov](https://forums.unrealengine.com/u/DenisPereladov)\
**Post date:** [September 4, 2026, 3:11pm UTC](https://forums.unrealengine.com/t/ue-5-8-1-d3d12-rough-refraction-destroys-the-scene-capture-alpha-channel/2753870/2 "2026-09-04T15:11:51Z")

</div>

I’m experiencing a similar issue in UE 5.7.4 with rough refraction (`r.Refraction.Blur 1`).

MRQ produces completely black/flickering frames when refraction blur is enabled. The issue depends on the glass object’s position(!) in the camera view, even when the object is completely static. When object is placed on upper half of camera view - render is completely black. When in lower half - render is normal.

I tested different MRQ AA methods:

- None → black frames

- FXAA → black frames

- Temporal AA → works

- TSR → works

Changing Lumen reflection settings, refraction bounces, and High Quality Translucency Reflections did not help.

The key findings:

- `r.Refraction.Blur 0` → completely stable, but removes roughness-based refraction blur

- Disabling Refraction in the material entirely → completely stable, but obviously removes refraction

So the issue appears to be specifically related to the rough refraction blur/refraction path in UE 5.7.4, rather than the glass material or Lumen settings themselves.
