I'm having trouble capturing video about transparent object

Hello,

I’m having trouble with an object that uses a Shader with a Render Queue of Transparent not displayed in the captured video.

If I change the Render Queue to AlphaTest, it will be seen in the video.

But, I’d like to keep it Transparent if possible.

I tried debugging NRSDK\Resources\Record\Shaders\AlphaBlend.shader and found the following line in the fragment shader

fixed3 col_tex = lerp(col_bg.rgb, col.rgb, col.a)

I found that the value of col.a is always 0, if the Render Queue is Transparent.

Does anyone have a solution to this trouble?

Thank you.

Development environment

  • PC OS version: Windows 10 64bit
  • Unity version: 2019.4.29f1
  • NRSDK version: 1.6.0
  • Smartphone OS version: Android 11
  • Glass Device: NrealLight