Forum Discussion
Poggle
3 years agoHonored Guest
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
- andhikadimasExplorer
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.
- BogomilPetrovProtege
Could you try opening the shader and where it says ZWrite set it to on instead of off?
- BogomilPetrovProtege
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.
- abebkoFVExplorer
I'm having the same issue, but updating ZWrite didn't affect anything
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 4 months ago