Figure: Diagnostic workflow: Render opaque geometry → Capture color snapshot → Sample in transparent shader
Figure: Diagnostic workflow: Render opaque geometry → Capture color snapshot → Sample in transparent shader

Cause and mechanism

URP Scene Color reads the Opaque Texture, a snapshot taken before transparent objects render. If transparent objects do not appear in a refraction effect, check that limitation first. Moving Queue Offset later changes draw order but does not add previously rendered transparent objects to the Opaque Texture.

Check and correct the setup

  1. Enable Opaque Texture and render the normal refraction graph as transparent.
    Inspect background, foreground and transparency separately
    Inspect background, foreground and transparency separately
  2. Test zero distortion first, then inspect screen UVs and camera selection.
    Inspect background, foreground and transparency separately
    Inspect background, foreground and transparency separately
  3. To include other transparents, design a separate color copy/custom pass and check read/write target safety.
    Inspect background, foreground and transparency separately
    Inspect background, foreground and transparency separately

Limits and verification

Standard Scene Color does not fully solve layered transparent refraction. Separate sorting problems from missing content in the copy.

A focused diagnostic setup

Use an opaque checker background, transparent pane and refractor. Start at zero distortion to inspect the captured input.

Test in this order

  1. Verify the camera opaque texture and unchanged background sampling.
    Inspect background, foreground and transparency separately
    Inspect background, foreground and transparency separately
  2. Distinguish missing transparent input from incorrect screen UVs.
    Inspect background, foreground and transparency separately
    Inspect background, foreground and transparency separately
  3. For transparency-aware refraction design a separate capture/input and avoid reading/writing one target.
    Inspect background, foreground and transparency separately
    Inspect background, foreground and transparency separately

Interpret the result

Correct opaque input with an absent pane reflects Scene Color capture scope. Queue offsets do not add transparent content to that copy. Layered refraction needs explicit capture/order design.

Related explanations

References