Commit Graph

4281 Commits

Author SHA1 Message Date
Hugo Locurcio
338c19ca9d Document converting CSG nodes to MeshInstance3D and related lightmapping workflow (#10229)
* Document converting CSG nodes to MeshInstance3D and related lightmapping workflow

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-17 11:15:16 +01:00
Max Hilbrunner
f87ae31e93 Merge pull request #10275 from mhilbrunner/fix-csharp-semicolon
C# exports: Fix semicolon syntax error
2024-11-17 11:07:18 +01:00
FlooferLand!
d7ba911c0c Add note about LightmapGI only baking nodes under its parent (#10247)
* Add note about LightmapGI only baking nodes under its parent

`LightmapGI`'s documentation currently doesn't mention the fact it only bakes nodes under its parent.
This can make the user think there is something wrong with their scene setup or 3D models, as it refuses to bake when the user's models / world isn't under the same parent as the `LightmapGI`.

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-17 11:05:26 +01:00
Max Hilbrunner
8095573f87 C# exports: Fix semicolon syntax error
Co-authored-by: Loregret <31369647+Loregret@users.noreply.github.com>
2024-11-17 11:01:41 +01:00
Max Hilbrunner
94aadc9a52 Merge pull request #10267 from Repiteo/ci/pre-commit
CI: Integrate `pre-commit` for style checks
2024-11-17 10:49:44 +01:00
Hugo Locurcio
703d0cdba2 Improve grammar and writing in Pipeline compilations page (#10257)
* Improve grammar and writing in Pipeline compilations page

- Mention example of off-screen rendering using ColorRect to hide
  the root viewport's 3D rendering or a SubViewport node.
- Split into more paragraphs to improve readability.
- Link to class reference pages when relevant.
- Wrap source file to 80 characters like other pages.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-15 16:05:02 +01:00
Max Hilbrunner
316f05f8ba Merge pull request #10252 from tetrapod00/warn
Change warning boxes to danger boxes if data loss can occur
2024-11-15 15:57:25 +01:00
Thaddeus Crews
f70686cdbe CI: Integrate pre-commit for style checks 2024-11-14 14:08:49 -06:00
Max Hilbrunner
ef96f93c0e Merge pull request #10232 from Calinou/exporting-for-web-progressive-web-app
Document exporting as progressive web app in Exporting for the web
2024-11-14 13:32:41 +01:00
Max Hilbrunner
8c291253b8 Merge pull request #10235 from tetrapod00/builtin-built-in
Use "built-in" and "built into", avoid "builtin", "built in", and "built-in to"
2024-11-14 13:32:14 +01:00
Max Hilbrunner
19804cc7b8 Merge pull request #10256 from skyace65/XR-Renderer
Update recommended renderer for XR
2024-11-14 13:31:48 +01:00
Max Hilbrunner
dee3e6d300 Merge pull request #10263 from tetrapod00/3-4-link
Update link in Upgrading from Godot 3 to Godot 4
2024-11-14 13:30:42 +01:00
tetrapod00
dcbb136b58 Update link in Upgrading from Godot 3 to Godot 4 2024-11-13 19:39:45 -08:00
tetrapod00
9c52320183 Add comments about non-monospaced tables 2024-11-13 17:43:51 -08:00
skyace65
36088f33a0 Update recommended renderer for XR 2024-11-13 18:34:25 -05:00
Hugo Locurcio
2d9aeb9740 Update Random number generation for Godot 4.2+ (#9822)
- Document `Array.pick_random()` as a shorthand.
- Use global scope random methods as they are all available in global scope now.
- Remove calls to `randomize()` that are not needed for code samples
  to be functional, as the engine now calls `randomize()` on startup
  once automatically.
2024-11-13 13:59:04 +01:00
tetrapod00
f2717085dc Change warnings to dangers if data loss can occur 2024-11-12 01:15:51 -08:00
Max Hilbrunner
905b1f4f08 Merge pull request #10221 from tetrapod00/codespell-custom
Enforce style guidelines with custom codespell dictionary
2024-11-12 07:51:53 +01:00
Max Hilbrunner
7f6da4887f Merge pull request #10231 from tetrapod00/renderer-state-define
Document CURRENT_RENDERER built-in shader define
2024-11-12 07:51:22 +01:00
Max Hilbrunner
96fe4d15df Merge pull request #10244 from tetrapod00/advanced-postprocess-ndc
Add multiple renderer support to Advanced Postprocessing
2024-11-12 07:41:45 +01:00
Max Hilbrunner
94f9088774 Merge pull request #10249 from tetrapod00/web-rendering
Mention web support in Choosing a renderer section
2024-11-12 07:24:51 +01:00
tetrapod00
b7b3c5909d Mention web support in Choosing a renderer section 2024-11-11 09:45:25 -08:00
Hugo Locurcio
4c3020b775 Document @export_custom and additional range hints in GDScript exports
This also adds a hint suffix example to C# exports.

Co-authored-by: Shawn Hardern <126725649+ShawnHardern@users.noreply.github.com>
2024-11-11 17:22:44 +01:00
tetrapod00
389891b9bc Add multiple renderer support to Advanced Postprocessing 2024-11-10 20:02:55 -08:00
Matthew
8daa3af406 Merge pull request #10233 from tetrapod00/debug-tools-outdated
Update list of debugging settings
2024-11-08 20:53:35 -05:00
tetrapod00
76bcb140d4 Consistently use "built-in" and "built into", avoid "builtin" and "built-in to" 2024-11-08 17:28:29 -08:00
tetrapod00
6a11d113e7 Update list of debugging settings 2024-11-08 16:15:27 -08:00
Mikael
a362a0a7f2 Update "Size and anchors" to reflect Godot 4.3 terminology (#10216)
Changed relevant occurences of margin with "anchor offset" or "offset".

Also reworded paragraph about aspect ratios, as it included information that may not necessarily be correct.

Also replaced images with newer versions.
2024-11-09 00:08:04 +01:00
Hugo Locurcio
40d16134a5 Document exporting as progressive web app in Exporting for the web
- Document no-threads web export and its limitations.
- Document sample-based audio playback and its limitations.
- Mention that threading issues can be worked around by exporting
  as a progressive web app.
2024-11-08 23:30:41 +01:00
tetrapod00
6afebce86f Document CURRENT_RENDERER built-in shader define 2024-11-08 12:40:19 -08:00
tetrapod00
d837593d9a Add custom codespell dictionary 2024-11-07 15:23:32 -08:00
Max Hilbrunner
396fc8fd08 Merge pull request #10227 from tetrapod00/integral-integer
Improve GDScript format strings tutorial
2024-11-08 00:18:03 +01:00
Max Hilbrunner
47455be55a Merge pull request #10222 from tetrapod00/run-time-runtime
Change all usages of "run-time" to "runtime"
2024-11-08 00:14:11 +01:00
tetrapod00
5606be5c75 Improve GDScript format strings tutorial
Remove usages of "integral".
Add section on string concatenation.
Improve organization.
Fix incorrect examples.
2024-11-07 14:45:21 -08:00
Hugo Locurcio
c9ec2428bc Tweak SSRL performance cost in 3D antialiasing comparison table
The screen-space roughness limiter's performance cost is very low
compared to other antialiasing methods (typically in the same
ballpark as FXAA).
2024-11-07 16:58:50 +01:00
tetrapod00
5994348764 Change all usages of "run-time" to "runtime" 2024-11-06 23:36:58 -08:00
Matthew
8db59234ae Merge pull request #10214 from tetrapod00/project-settings-links
Link to project settings when mentioning them
2024-11-06 19:15:41 -05:00
Max Hilbrunner
7eb46171d9 Merge pull request #10197 from tetrapod00/lerp-smoothing
Improve interpolation smoothing example
2024-11-06 00:44:04 +01:00
Max Hilbrunner
eee29a2911 Merge pull request #10075 from KleidonBD/patch-1
Fix "or_greater"/"or_less" code example
2024-11-05 22:42:32 +01:00
tetrapod00
a8667ffddf Add links to project setting mentions 2024-11-05 11:55:14 -08:00
tetrapod00
012f0b8a19 Improve interpolation smoothing example
Improves explanation of interpolation ("lerp") smoothing.
Adds a note about framerate-independent version, with off-site links to
full explanations.

Co-Authored-By: aXu-AP <1621768+aXu-AP@users.noreply.github.com>
2024-11-05 11:36:45 -08:00
Max Hilbrunner
5b0f7925be Merge pull request #10171 from tetrapod00/global-const-arrays
Fix inaccurate/misleading note about shader global arrays
2024-11-05 00:45:45 +01:00
Max Hilbrunner
af6ab3db67 Merge pull request #10098 from TheSecondReal0/csharp-signal-parameters
Add C# documentation for connecting to GDScript signals with parameters
2024-11-05 00:44:28 +01:00
Max Hilbrunner
d0d797ccbe Merge pull request #9837 from dementive/best-practices-cpp
Add GDExtension C++ snippets to tutorials/best_practices
2024-11-05 00:41:54 +01:00
tetrapod
f0b5879b85 Link to Getting Started Input tutorial from Input examples page (#10200)
* Link to Getting Started Input tutorial from Input examples page

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-05 00:38:49 +01:00
Max Hilbrunner
c77b4d1905 Merge pull request #10181 from Flarkk/fragcoord
Clarify when `FRAGCOORD.z` is used as depth output
2024-11-05 00:37:26 +01:00
Hugo Locurcio
e954194991 Apply suggestion from Spring arm camera pull request 2024-11-04 20:11:48 +01:00
Nate Moore
ffb7983cc1 Add spring arm third-person camera tutorial (#10156)
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-04 20:11:13 +01:00
Max Hilbrunner
cf448daab0 Merge pull request #10191 from tetrapod00/changelog-44
Add section to Documentation changelog page for 4.4
2024-11-04 00:10:33 +01:00
Max Hilbrunner
d92c2cfc99 Merge pull request #10187 from tetrapod00/rubric-headers
Improve display of rubric fake headers with `:heading-level:` option
2024-11-04 00:08:48 +01:00