How to reproduce:
1. Open the attached “HDRP-Custom-Pass” project
2. Open the “Liquid” Scene
3. Observe the Game view
Actual result: The liquid is rendered opaque
Expected result: The liquid is rendered transparent
Reproducible with: 6000.0.64f1, 6000.3.2f1, 6000.4.0b1, 6000.5.0a3
Could not test with: 2023.1.0a1, 6000.0.0b11 (The project breaks in different ways)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- On versions before Unity 6 the editor was unable to open/read the .hlsl files which are necessary for the shader to work
- Downgrading to version 6000.0.0b11 broke the project and issues appeared with the shaders code
- The liquid renders opaque with Custom Pass Volume Injection Point set to Before Post Process and renders transparent with Injection Point set to Before Transparent