Skip to main content
New Participant
June 21, 2022

Passthrough renders on all unlit transparent materials

Hey I'm curious if anyone else has had this issue.

I am working with passthrough in a quest app and I have a movable passthrough window as a tool for the user. It looks great and its rendering just the way I want it, it is based off of the oculus demo scene "Selective Passthrough" which uses a material to mark things as passthrough or not.

The issue I have found is that every material that is unlit and transparent (which are used quite often in the scene) are rendering as a passthrough material. I have some quads for little fake drop shadows that are passthrough, peoples name tags, transparent logos on the way and even users glasses are all passthrough. I am using basic unlit/transparent shades for these objects. The standard shader doesn't seem to exhibit the problem. Why is this happening? I would appreciate any help. Thanks

4 replies

Participant
December 8, 2022

Do you fix the issues? I have just posted the same question and then found yours and surprised here is no answer or respond yet. 

Participant
November 12, 2023

Could you try opening the shader and where it says ZWrite set it to on instead of off?

Participant
November 12, 2023

Hey. I had a similar issue when using the Selective Passthrough shader.

 

I fixed my problem by opening the shader code and setting Z Write to on. I found that when it was off none of my transparent materials rendered over the passthrough at all.

Participant
February 15, 2024

I'm having the same issue, but updating ZWrite didn't affect anything