2
0
Fork 0

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.
4.0
Hugo Locurcio 2021-11-04 19:27:23 +07:00
parent ee939c919b
commit f5170dca75
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 1 additions and 1 deletions

@ -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)));