mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -112,7 +112,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_4X);
|
||||
viewport->set_msaa_3d(Viewport::MSAA_4X);
|
||||
set_stretch(true);
|
||||
camera = memnew(Camera3D);
|
||||
camera->set_transform(Transform3D(Basis(), Vector3(0, 0, 1.1)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue