You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Implement MSAA for 2D [Vulkan only]
This commit is contained in:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user