Skip to content

Depth Occlusion affected by Near Clip Plane value:: UE5.3 - Plugin v65 & UE5.4 - Plugin v68 & v71 #6

@Junnn424

Description

@Junnn424

Hi all,

We're developing a MR shooting game, and we noticed this interesting relationship between Near Clip Plane setting and Depth Occlusion when we're tweaking the Clip Plane distance so we can hold the gun closer to user's face.
We fond that when the Near Clip Plane is set to 10.0 (Unreal default), it behave correctly; once we start to increase the value, it starts to prioritise virtual objects, and when decrease the value it seems to also bring the camera depth distance down and the virtual object starts to be occluded earlier.
The same behavior can be reproduced in Occlusion Sample:

com.oculus.vrshell-20241122-220547-0.mp4

image

Not a huge issue but would be nice if there's a way to adjust clip plane distance and not mess up Depth occlusion!
We tested in UE53 and UE54, using MetaXR plugin version 65/ 68 / 71 and they all appear to have the same behaviro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions