Skip to content

Commit 80407de

Browse files
authored
Merge pull request #11502 from Calinou/compiling-for-windows-d3d12-default
Update Compiling for Windows following Direct3D 12 being enabled by default
2 parents abe420b + 856f241 commit 80407de

File tree

6 files changed

+17
-27
lines changed

6 files changed

+17
-27
lines changed

about/faq.rst

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -309,21 +309,6 @@ See :ref:`doc_data_paths` for more information.
309309
If *true* portable operation is desired (e.g. for use on a USB stick),
310310
follow the steps in :ref:`doc_data_paths_self_contained_mode`.
311311

312-
Why does Godot prioritize Vulkan and OpenGL over Direct3D?
313-
----------------------------------------------------------
314-
315-
Godot aims for cross-platform compatibility and open standards first and
316-
foremost. OpenGL and Vulkan are the technologies that are both open and
317-
available on (nearly) all platforms. Thanks to this design decision, a project
318-
developed with Godot on Windows will run out of the box on Linux, macOS, and
319-
more.
320-
321-
While Vulkan and OpenGL remain our primary focus for their open standard and
322-
cross-platform benefits, Godot 4.3 introduced experimental support for Direct3D 12.
323-
This addition aims to enhance performance and compatibility on platforms where
324-
Direct3D 12 is prevalent, such as Windows and Xbox. However, Vulkan and OpenGL
325-
will continue as the default rendering drivers on all platforms, including Windows.
326-
327312
Why does Godot aim to keep its core feature set small?
328313
------------------------------------------------------
329314

engine_details/class_reference/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ the end of the description:
314314

315315
.. code-block:: none
316316
317-
[b]Note:[/b] Only available when using the Vulkan renderer.
317+
[b]Note:[/b] Only available when using the Forward+ renderer.
318318
319319
To denote crucial information that could cause security issues or loss of data
320320
if not followed carefully, add a paragraph starting with "[b]Warning:[/b]" at

engine_details/development/compiling/compiling_for_windows.rst

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Requirements
1515

1616
For compiling under Windows, the following is required:
1717

18-
1918
- A C++ compiler. Use one of the following:
2019

2120
- `Visual Studio Community <https://www.visualstudio.com/vs/community/>`_,
@@ -36,6 +35,8 @@ For compiling under Windows, the following is required:
3635
- `SCons 4.0+ <https://scons.org/pages/download.html>`_ build system. Using the
3736
latest release is recommended, especially for proper support of recent Visual
3837
Studio releases.
38+
- :ref:`Direct3D 12 dependencies <doc_compiling_for_windows_installing_d3d12_requirements>`
39+
(can be skipped with the ``d3d12=no`` SCons option if Direct3D 12 support is not desired).
3940

4041
.. note:: If you have `Scoop <https://scoop.sh/>`_ installed, you can easily
4142
install MinGW and other dependencies using the following command:
@@ -182,17 +183,21 @@ dependencies. Running it will bring up the Project Manager.
182183
:ref:`doc_data_paths_self_contained_mode` by creating a file called
183184
``._sc_`` or ``_sc_`` in the ``bin/`` folder.
184185

185-
Compiling with support for Direct3D 12
186-
--------------------------------------
186+
.. _doc_compiling_for_windows_installing_d3d12_requirements:
187+
188+
Installing Direct3D 12 requirements
189+
-----------------------------------
187190

188-
By default, builds of Godot do not contain support for the Direct3D 12 graphics
189-
API.
191+
By default, Windows builds of Godot contain support for the Direct3D 12 graphics
192+
API. Compiling with Direct3D 12 support requires additional dependencies
193+
to be installed. If you wish to skip this step, you can use the ``d3d12=no``
194+
SCons option; Vulkan and OpenGL support will remain available if you do so.
190195

191196
You can install the required dependencies by running
192197
``python misc/scripts/install_d3d12_sdk_windows.py``
193-
in the Godot source repository. After running this script, add the ``d3d12=yes``
194-
SCons option to enable Direct3D 12 support. This will use the default paths for
195-
the various dependencies, which match the ones used in the script.
198+
in the Godot source repository. After running this script, compile Godot as usual.
199+
This will use the default paths for the various dependencies, which match the
200+
ones used in the script.
196201

197202
You can find the detailed steps below if you wish to set up dependencies
198203
manually, but the above script handles everything for you (including the

tutorials/3d/global_illumination/using_lightmap_gi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ JNLM (Non-Local Means with Joint Filtering)
522522
JNLM is the default denoising method and is included in Godot. It uses a simple
523523
but efficient denoising algorithm known as *non-local means*. JNLM runs on the
524524
GPU using a compute shader, and is compatible with any GPU that can run Godot
525-
4's Vulkan-based rendering methods. No additional setup is required.
525+
4's RenderingDevice-based renderers. No additional setup is required.
526526

527527
JNLM's denoising can be adjusted using the **Denoiser Strength** property that
528528
is visible when **Use Denoiser** enabled. Higher values can be more effective at

tutorials/editor/using_the_android_editor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Here are the known limitations and issues of the Android editor:
7272
- No support for Android plugins as they require gradle build support. GDExtensions plugins are supported.
7373
- No C#/Mono support.
7474
- No support for external script editors.
75-
- While available, the *Vulkan Forward+* renderer is not recommended due to severe performance issues.
75+
- While available, the Forward+ renderer is not recommended due to severe performance issues.
7676
- UX not optimized for Android phones form-factor.
7777
- `Android Go devices <https://developer.android.com/guide/topics/androidgo>`__ lacks
7878
the *All files access* permission required for device read/write access.

tutorials/troubleshooting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ There are several workarounds for this:
6060
The editor or project takes a very long time to start
6161
-----------------------------------------------------
6262

63-
When using one of the Vulkan-based renderers (Forward+ or Mobile), the first
63+
When using one of the RenderingDevice-based renderers (Forward+ or Mobile), the first
6464
startup is expected to be relatively long. This is because shaders
6565
need to be compiled before they can be cached. Shaders also need to be cached
6666
again after updating Godot, after updating graphics drivers or after switching

0 commit comments

Comments
 (0)