mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Implement MSAA for 2D [Vulkan only]
This commit is contained in:
parent
f2a6168414
commit
e96b1a2c0c
26 changed files with 250 additions and 77 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue