浏览代码

Use 4× MSAA for the Advanced Import Options 3D preview

This results in better preview quality and is more consistent with
the material preview in the inspector.
Hugo Locurcio 3 年之前
父节点
当前提交
f5170dca75
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/plugins/mesh_editor_plugin.cpp

+ 1 - 1
editor/plugins/mesh_editor_plugin.cpp

@@ -110,7 +110,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)));