Use 4× MSAA for the 3D viewports

This makes them look better thanks to reduced aliasing.
This commit is contained in:
Hugo Locurcio 2019-10-17 14:55:42 +02:00
parent 854b0c8b98
commit 880babaa03
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ stretch = true
[node name="Viewport" type="Viewport" parent="VBoxContainer/HBoxContainer/ProjectsPane/BackgroundPreview"] [node name="Viewport" type="Viewport" parent="VBoxContainer/HBoxContainer/ProjectsPane/BackgroundPreview"]
size = Vector2( 954, 696 ) size = Vector2( 954, 696 )
handle_input_locally = false handle_input_locally = false
msaa = 2
render_target_update_mode = 0 render_target_update_mode = 0
[node name="Camera" type="Camera" parent="VBoxContainer/HBoxContainer/ProjectsPane/BackgroundPreview/Viewport"] [node name="Camera" type="Camera" parent="VBoxContainer/HBoxContainer/ProjectsPane/BackgroundPreview/Viewport"]

View File

@ -36,6 +36,7 @@ size = Vector2( 395, 370 )
own_world = true own_world = true
world = SubResource( 1 ) world = SubResource( 1 )
handle_input_locally = false handle_input_locally = false
msaa = 2
render_target_clear_mode = 1 render_target_clear_mode = 1
render_target_update_mode = 3 render_target_update_mode = 3
physics_object_picking = true physics_object_picking = true