You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Implement MSAA for 2D [Vulkan only]
This commit is contained in:
@@ -152,7 +152,7 @@ MaterialEditor::MaterialEditor() {
|
||||
vc->add_child(viewport);
|
||||
viewport->set_disable_input(true);
|
||||
viewport->set_transparent_background(true);
|
||||
viewport->set_msaa(Viewport::MSAA_4X);
|
||||
viewport->set_msaa_3d(Viewport::MSAA_4X);
|
||||
|
||||
camera = memnew(Camera3D);
|
||||
camera->set_transform(Transform3D(Basis(), Vector3(0, 0, 3)));
|
||||
|
||||
Reference in New Issue
Block a user