Godot Engine – Multi-platform 2D and 3D game engine
Go to file
Omar El Sheikh d274284069 Octahedral Normal/Tangent Compression
Implement Octahedral Compression for normal/tangent vectors
*Oct32 for uncompressed vectors
*Oct16 for compressed vectors

Reduces vertex size for each attribute by
*Uncompressed: 12 bytes, vec4<float32> -> vec2<unorm16>
*Compressed: 2 bytes, vec4<unorm8> -> vec2<unorm8>

Binormal sign is encoded in the y coordinate of the encoded tangent

Added conversion functions to go from octahedral mapping to cartesian
for normal and tangent vectors

sprite_3d and soft_body meshes write to their vertex buffer memory
directly and need to convert their normals and tangents to the new oct
format before writing

Created a new mesh flag to specify whether a mesh is using octahedral
compression or not
Updated documentation to discuss new flag/defaults

Created shader flags to specify whether octahedral or cartesian vectors
are being used

Updated importers to use octahedral representation as the default format
for importing meshes

Updated ShaderGLES2 to support 64 bit version codes as we hit the limit
of the 32-bit integer that was previously used as a bitset to store
enabled/disabled flags
2021-07-30 10:29:09 -04:00
.github Don't install Android NDK in CI 2021-06-07 12:15:20 +02:00
core Merge pull request #48390 from lawnjelly/delta_smooth 2021-07-22 12:43:39 +02:00
doc Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
drivers Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
editor Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
main Add option to sync frame delta after draw 2021-07-22 12:04:22 +01:00
misc [3.x] Allow reading shaders from .gdshader files 2021-07-19 23:34:23 -04:00
modules Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
platform Disable resource optimizations for release builds as it breaks the legacy build system. 2021-07-20 16:36:00 -07:00
scene Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
servers Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
thirdparty mbedtls: Update to upstream version 2.16.11 2021-07-20 13:05:28 +02:00
.clang-format Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
.clang-tidy Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
.editorconfig Use space indentation for all YAML files in `.editorconfig` 2021-02-22 10:15:50 +01:00
.gitattributes Git: Explicitly list binary files as such to avoid EOL change 2019-05-25 10:43:48 +02:00
.gitignore gitignore: Ignore Kate swap files 2021-02-02 13:02:45 +01:00
.mailmap Update AUTHORS and DONORS list 2021-05-14 13:19:19 +02:00
AUTHORS.md Update AUTHORS and DONORS list 2021-07-13 13:16:47 +02:00
CHANGELOG.md Add OpenSimplexNoise output change to changelog 2021-04-26 20:26:58 +02:00
CONTRIBUTING.md Link to Godot Contributors Chat instead of IRC 2021-03-07 22:51:06 +01:00
COPYRIGHT.txt Merge pull request #48967 from akien-mga/3.x-embree-3.13.0 2021-05-24 17:03:04 +02:00
DONORS.md Update AUTHORS and DONORS list 2021-07-13 13:16:47 +02:00
LICENSE.txt Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
LOGO_LICENSE.md Relicense Godot logo from CC-BY-3.0 to CC-BY-4.0 2020-12-09 11:22:04 +01:00
README.md Link to Godot Contributors Chat instead of IRC 2021-03-07 22:51:06 +01:00
SConstruct SCons: Avoid using Python f-string to preserve Python 3.5 compat 2021-07-20 13:05:13 +02:00
compat.py SCons: Fix python2 compatibility after #37198 and #37248 2020-06-11 20:15:48 +02:00
gles_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
icon.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
icon.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
logo.png Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
logo.svg Remove two very slightly displaced duplicate vertices on Gobot's face 2020-12-29 13:54:08 +01:00
methods.py SCons: Generate header with info on which modules are enabled 2021-07-14 23:09:47 +02:00
platform_methods.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
version.py Bump version to 3.4-beta 2021-04-22 15:27:35 +02:00

README.md

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 in 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 (HTML5) 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 Software Freedom Conservancy 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 Godot Engine

Getting the engine

Binary downloads

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

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.

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

To get started contributing to the project, see the contributing guide.

Documentation and demos

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

The class reference is also accessible from the Godot editor.

The official demos are maintained in their own GitHub repository as well.

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.

Actions Build Status Code Triagers Badge Translate on Weblate Total alerts on LGTM TODOs