Forum Discussion

kuryu92's avatar
kuryu92
Explorer
1 month ago

The position of the Vignette in OVRVignette is off-center from the field of view.

When using OVRVignette, the position where the field of view is narrowed is off-center from the field of view.

Besides being off-center, different areas are obscured by each eye, making it very difficult to see.

_OpaqueMaterial.SetVectorArray(_ShaderScaleAndOffset0Property, _OpaqueScaleAndOffset0);

I think the above process probably changes a shader variable to determine the Vignette's position, but I don't know anything beyond that...

Does anyone else have the same symptoms or know of a solution?

Unity 6000.2.15f1

Meta XR Core SDK 85.0.0

Using Meta Quest 3

Meta Quest Link 85.0.0.239.552

2 Replies

  • Degly's avatar
    Degly
    Start Mentor

    From what I see it might just be an XR rendering mode or eye texture scale issue rather than your vignette values specifically.

    Since each eye is being masked differently, the shader scale/offset is probably receiving per-eye values that no longer match the actual eye texture layout.

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions