Skip to content

Using Viewports documentation claims that meshes below the SubViewport in the scene hierarchy will not appear to cameras in parent nodes #10269

Open
@plutoscarab

Description

@plutoscarab

Your Godot version:

v4.3.stable.official [77dcf97d8]

Issue description:

The following sentence about mesh visibility is SubViewport cameras is only correct if "Own World 3D" is enabled on the viewport, which is not the default.

Even though MeshB is in the scene hierarchy, it will still not be drawn to the Root Viewport. Similarly, MeshA will not be visible from the SubViewport because SubViewports only capture nodes below them in the hierarchy.

I'm seeing the subviewport-owned mesh appearing in the root scene unless I enable Own World 3D. This property should be mentioned in the documentation but I'm not sure how I'd arrange it.

URL to the documentation page:

https://docs.godotengine.org/en/stable/tutorials/rendering/viewports.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions