Merge pull request #54606 from Calinou/mesh-editor-plugin-tweak-msaa

Use 4× MSAA for the Advanced Import Options 3D preview
This commit is contained in:
Hugo Locurcio 2022-05-04 23:18:08 +02:00 committed by GitHub
commit 016cca1740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ MeshEditor::MeshEditor() {
viewport->set_world_3d(world_3d); //use own world
add_child(viewport);
viewport->set_disable_input(true);
viewport->set_msaa(Viewport::MSAA_2X);
viewport->set_msaa(Viewport::MSAA_4X);
set_stretch(true);
camera = memnew(Camera3D);
camera->set_transform(Transform3D(Basis(), Vector3(0, 0, 1.1)));