This website uses cookies. By clicking Accept, you consent to the use of cookies.
Click Here
to learn more about how we use cookies.
Accept
Reject
Browse
VR Forums
Announcements
Get Help
Talk VR
VR Experiences
International
Off-Topic
Developer Forums
Unity Development
Unreal Development
Meta Spatial SDK Development
Mobile Development
Web Development
OpenXR Development
General VR & MR Development
PCVR/Link Development
Quest Development
Accessibility Development
Developer Dashboard Feedback
SDK Development
Tool Feedback
Other VR Development
MVPs
Help
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Meta Community Forums
Developer
Unity VR
Having trouble with a mask shader - any tips welco...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Having trouble with a mask shader - any tips welcome!
Thunderbox_Ent
Protege
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
08-07-2019
12:04 AM
Hi there. I am trying to use the following technique to mask an object:
https://answers.unity.com/questions/316064/can-i-obscure-an-object-using-an-invisible-object.html
This works beautifully in the editor, but when I enter VR my masking object is black.
Here is the set-up in editor (I am using a cube to obscure the hexagonal shaft here)...
Here it is in the editor with the game running (working fine - shaft hidden)...
And in VR (mask object is black)...
I am guessing this has something to do with depth buffers or single-pass rendering...
Any suggestions would be most welcome!
Thanks,
Dan
shader
All forum topics
Previous Topic
Next Topic
1 REPLY
1
thewhiteambit
Adventurer
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
12-01-2019
05:47 PM
They completely broke depth features half a year ago and nobody but me cared.
Post Reply
Related Content
Post processing materials
in
Unreal Development
Sunday
Meta Avatar lightning problem
in
Unity Development
2 weeks ago
Environment Depth could not be retrieved! Please ensure the following:
in
Unity Development
2 weeks ago
Cross Post: Issues with v71 and vertex shader compilation in OpenGL
in
OpenXR Development
11-08-2024
Default animations not working
in
Unity Development
11-05-2024