First parameter of viewport_set_msaa_3d!

Godot Version



How do I get the viewport in first parater?

You can set the MSAA 3D directly in the Viewport object with get_viewport().msaa_3d = MSAA_4X for example.

If you still want to use the RenderingServer then you’ll need to get the RID of the Viewport with Viewport.get_viewport_rid()

Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.