Virtualx Game Engine. Forked from Godot 3.6
Find a file
Arseny Kapoulkine 18d6ae1161 Fix LOD generation for meshes with tangents & mirrored UVs
When UVs are mirrored in a mesh, collapsing vertices across the
mirroring seam can significantly reduce quality in a way that is not
apparent to the simplifier. Even if simplifier was given access to UV
data, the coordinates would need to be weighted very highly to prevent
these collapses, which would penalize overall quality of reasonable
models.

Normally, well behaved models with mirrored UVs have tangent data that
is correctly mirrored, which results in duplicate vertices along the
seam. The simplifier automatically recognizes that seam and preserves
its structure; typically models have few edge loops where UV winding is
flipped so this does not affect simplification quality much.

However, pre-processing for LOD data welded vertices when UVs and
normals were close, which welds these seams and breaks simplification,
creating triangles with distorted UVs.

We now take tangent frame sign into account when the input model has
tangent data, and only weld vertices when the sign is the same.
2024-07-23 16:35:46 -07:00
.github Merge pull request #94444 from Repiteo/ci/bump-scons 2024-07-22 17:24:07 +02:00
core Support 64-bit image sizes for VRAM compression 2024-07-21 21:06:14 +02:00
doc Bind PhysicsServer*D::body_set_state_sync_callback 2024-07-23 13:30:44 +02:00
drivers Merge pull request #94628 from Chaosus/rendering_fix_crash 2024-07-23 13:08:18 +02:00
editor Android Editor: Make progress dialog visible again 2024-07-23 17:36:07 +02:00
main Merge pull request #88065 from Riteo/ds-pref-consistent 2024-07-22 17:30:21 +02:00
misc Merge pull request #94652 from shana/fix-header-guards 2024-07-23 16:19:15 +02:00
modules GDScript: Fix false positive cases of ENUM_VARIABLE_WITHOUT_DEFAULT 2024-07-22 21:45:01 +03:00
platform Disable FP contraction. 2024-07-23 14:33:51 +03:00
scene Fix LOD generation for meshes with tangents & mirrored UVs 2024-07-23 16:35:46 -07:00
servers Merge pull request #94656 from BlueCube3310/cubemap-layers-retrieve-fix 2024-07-23 15:55:53 +02:00
tests Fix PathFollow tests, Add forward vector test to PathFollow3D 2024-07-20 19:09:42 +02:00
thirdparty Disable FP contraction. 2024-07-23 14:33:51 +03:00
.clang-format Style: Workaround clang-format 14 bug with Inline oneliner functions 2022-08-03 12:20:23 +02:00
.clang-tidy CI: Add pre-commit hook for clang-tidy 2024-06-17 11:27:18 -05:00
.editorconfig CI: Add svgo pre-commit hook 2024-06-23 08:14:54 -05:00
.git-blame-ignore-revs Template format commit to .git-blame-ignore-revs 2024-03-08 08:33:06 -06:00
.gitattributes Dotnet: Fix attributes for sln/csproj files 2024-05-03 12:21:51 -05:00
.gitignore Ignore Kate's build file 2024-06-05 12:54:33 -03:00
.mailmap Update AUTHORS and DONORS list 2024-05-01 13:17:11 +02:00
.pre-commit-config.yaml CI: Add svgo pre-commit hook 2024-06-23 08:14:54 -05:00
AUTHORS.md Update AUTHORS and DONORS list 2024-05-01 13:17:11 +02:00
CHANGELOG.md Add changelog for Godot 4.2 2023-11-29 18:08:07 +01:00
CONTRIBUTING.md Update godot documentation contribution link 2024-07-20 20:51:11 -06:00
COPYRIGHT.txt vulkan: Update all components to Vulkan SDK 1.3.183.0 2024-06-03 10:25:46 +02:00
DONORS.md Update AUTHORS and DONORS list 2024-05-01 13:17:11 +02:00
gles3_builders.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
glsl_builders.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
godot.manifest Windows: Implement DisplayServer::dialog_show and DisplayServer::dialog_input_text 2024-03-04 12:53:22 -08:00
icon.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
icon.svg Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
icon_outlined.png Add an outlined version of logo.png and icon.png and put it in README.md 2020-12-14 06:42:51 +01:00
icon_outlined.svg Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
LICENSE.txt One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
logo.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-11 07:05:54 +01:00
logo.svg Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
LOGO_LICENSE.txt Cleanup various repository documentation files 2023-10-10 13:58:13 +02:00
logo_outlined.png Convert the logo's text outlines into paths 2023-04-07 17:51:56 +02:00
logo_outlined.svg Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
methods.py Merge pull request #93753 from Repiteo/scons/visual-studio-fixes 2024-07-22 17:30:25 +02:00
platform_methods.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
pyproject.toml CI: Migrate codespell logic to pyproject.toml 2024-06-03 10:19:58 -05:00
README.md Cleanup various repository documentation files 2023-10-10 13:58:13 +02:00
SConstruct Merge pull request #93753 from Repiteo/scons/visual-studio-fixes 2024-07-22 17:30:25 +02:00
scu_builders.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
version.py Bump version to 4.3-beta 2024-05-13 17:37:07 +02:00

Godot Engine

Godot Engine logo

2D and 3D cross-platform game engine

Godot Engine is a feature-packed, cross-platform game engine to create 2D and 3D games from a unified interface. It provides a comprehensive set of common tools, so that users can focus on making games without having to reinvent the wheel. Games can be exported with one click to a number of platforms, including the major desktop platforms (Linux, macOS, Windows), mobile platforms (Android, iOS), as well as Web-based platforms and consoles.

Free, open source and community-driven

Godot is completely free and open source under the very permissive MIT license. No strings attached, no royalties, nothing. The users' games are theirs, down to the last line of engine code. Godot's development is fully independent and community-driven, empowering users to help shape their engine to match their expectations. It is supported by the Godot Foundation not-for-profit.

Before being open sourced in February 2014, Godot had been developed by Juan Linietsky and Ariel Manzur (both still maintaining the project) for several years as an in-house engine, used to publish several work-for-hire titles.

Screenshot of a 3D scene in the Godot Engine editor

Getting the engine

Binary downloads

Official binaries for the Godot editor and the export templates can be found on the Godot website.

Compiling from source

See the official docs for compilation instructions for every supported platform.

Community and contributing

Godot is not only an engine but an ever-growing community of users and engine developers. The main community channels are listed on the homepage.

The best way to get in touch with the core engine developers is to join the Godot Contributors Chat.

To get started contributing to the project, see the contributing guide. This document also includes guidelines for reporting bugs.

Documentation and demos

The official documentation is hosted on Read the Docs. It is maintained by the Godot community in its own GitHub repository.

The class reference is also accessible from the Godot editor.

We also maintain official demos in their own GitHub repository as well as a list of awesome Godot community resources.

There are also a number of other learning resources provided by the community, such as text and video tutorials, demos, etc. Consult the community channels for more information.

Code Triagers Badge Translate on Weblate TODOs