Commit Graph

52 Commits

Author SHA1 Message Date
Hugo Locurcio
4b66f6d744 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.

(cherry picked from commit 6babc68649)
2021-06-02 13:17:00 +02:00
Hugo Locurcio
9305943584 Document how to support portrait and landscape in Multiple resolutions (#4872) 2021-05-01 22:07:57 +02:00
Rémi Verschelde
973cf89f94 Merge branch 'master' into 3.2 2020-09-22 08:59:08 +02:00
Hugo Locurcio
79c771de19 Document why Godot doesn't support changing the monitor resolution
This closes https://github.com/godotengine/godot/issues/14542.
2020-09-18 23:36:32 +02:00
Rémi Verschelde
e337af304f Merge branch 'master' into 3.2 2020-09-09 13:02:26 +02:00
Beuc
f648f7bc09 Fix texture mapping in Custom post-processing (#3957)
When the viewport is not fullscreen, the view is cropped and distorted after applying a shader.
This is due to using SCREEN_UV (meant for SCREEN_TEXTURE) instead of UV (meant for TEXTURE).
2020-09-03 00:15:01 +02:00
Rémi Verschelde
76cf11c890 Merge branch 'master' into 3.2 2020-07-30 17:14:54 +02:00
Hugo Locurcio
b55931e33f Document how to use Viewports for 2D/3D scaling in Multiple resolutions 2020-07-13 11:27:16 +02:00
Michael Alexsander
1f6d3995e4 Apply general code formatting to some pages in the tutorial section 2020-07-08 23:02:14 -03:00
Rémi Verschelde
f3d374ebf1 Merge branch 'master' into 3.2 2020-06-05 17:15:28 +02:00
Justin Calleja
ebc5cd0ff8 Fix typo and improve writing in Multiple resolutions (#3644)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-06-05 10:12:45 +02:00
Rémi Verschelde
10f20b00cb Merge branch 'master' into 3.2 2020-05-20 15:08:42 +02:00
Hugo Locurcio
d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Rémi Verschelde
707237278e Merge branch 'master' into 3.2 2020-04-21 14:08:07 +02:00
Michael Alexsander
fec78c3c04 Fix some more errors 2020-04-17 16:43:12 -03:00
Hugo Locurcio
046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
Yuri Sizov
4acf7a6563 Fix syntax highlighting for various languages (#3387) 2020-04-15 16:33:20 +02:00
PouleyKetchoupp
854185495c Fixed code tags for true/false/null and a few property references 2019-11-02 13:09:14 +01:00
Rémi Verschelde
bbc6682099 Merge pull request #2743 from Calinou/improve-viewports
Improve the Viewports documentation
2019-10-29 12:28:31 +01:00
clayjohn
8d1e9783d2 Updated Viewports with cull_mask info and post_frame signal 2019-09-18 08:24:40 -07:00
Hugo Locurcio
656754df43 Improve the Viewports documentation 2019-09-05 01:25:12 +02:00
Hugo Locurcio
733a3a0e2f Improve "Audio buses", "Audio streams" and "Importing audio samples"
This improves writing style and formatting, and adds more links
to refer to other pages.
2019-09-01 17:00:50 +02:00
Hugo Locurcio
7e461bdb3d Improve the "Multiple resolutions" page
This adds a paragraph on FOV scaling, while also improving grammar
and formatting.
2019-07-15 00:23:13 +02:00
Juan Linietsky
a3551a7c23 Add comment to reduce aliasing. 2019-04-26 12:36:30 -03:00
clayjohn
2bd33f5a46 first pass at reviewing reduz' new docs 2019-04-22 15:15:30 -07:00
Juan Linietsky
f070f6cea1 Fixed missing gifs, fixed writing. 2019-04-22 18:04:12 -03:00
Juan Linietsky
5b64f3b076 Add detailed documentation about containers.
Improve documentation on multiple resolution handling.
2019-04-22 13:27:45 -03:00
Rémi Verschelde
5b2aaf8d41 Optimize PNGs with optipng
Using `find -name "*.png" -exec optipng \;` and optipng 0.7.7
2019-01-26 22:10:03 +01:00
corrigentia
ad5c1fda75 Fix punctuation in custom_postprocessing (#2115)
Fix punctuation in custom_postprocessing.
I surmise that the second ``col += texture(TEXTURE, SCREEN_UV + SCREEN_PIXEL_SIZE.xy).xyz;`` line was missing a ``-`` (minus sign) before I went through it. 
If so, I chalk it up to a case of copypasta.
2019-01-11 17:08:20 +01:00
corrigentia
65cb8ff88e Tweak using_viewport_as_texture (#2113)
Fix punctuation, grammar and spelling in using_viewport_as_texture. 
Add steps for which I've had to go looking elsewhere. 
Prevent "error(3): Expected ';' after 'shader_type <type>'.".
Attempt fix in "Coloring the planet" for 
'error(45): Inalid member for float expression: .x' & 
'error(47): Inalid member for float expression: .x'.

`n`'s type was changed from `vec4` to `float`, and should now be used directly instead of `n.x`.
2019-01-08 17:33:10 +01:00
corrigentia
c930873833 Fix grammar and punctuation in viewports (#2111)
Misleading information: (I think) the function signature for [Viewport.set_size_override](https://godot.readthedocs.io/en/latest/classes/class_viewport.html#class-viewport-set-size-override) goes against the example provided.
2019-01-08 13:43:27 +01:00
Rémi Verschelde
a1af0dfc13 Adapt tutorial hyperlinks after godotengine/godot#24640 2019-01-07 11:43:18 +01:00
skyace65
3ee778e566 Fix Capitalization 2018-11-21 13:12:43 -05:00
clayjohn
3f612ab8a9 updated viewport texture tutorial 2018-11-20 15:38:40 -08:00
Rémi Verschelde
4ef06a4135 Removing trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +01:00
Rémi Verschelde
a0e32ac017 Fix mixed use of tabs and spaces in indented blocks
4-space is our convention for indented blocks and should be used consistently.
The only exception is for C++ code which is tab-indented, as the engine code.
2018-11-20 11:02:11 +01:00
Vallentin
cd4353790f Fixed typos (#1906) 2018-11-20 09:44:00 +01:00
Frido
3a62243e7a Fixed typo in Viewports tutorial 2018-10-16 23:37:34 +02:00
Nathan Lovato
4965cacaef Proofed the custom_postprocessing tutorial 2018-10-06 08:48:33 +09:00
clayjohn
044045aabc added simple post-processing tutorial 2018-10-02 20:56:03 -07:00
Clay John
61a3979b62 Added Viewport Texture Tutorial (#1606)
* added viewport texture tutorial

* fixed title

* fixed typos found on review
2018-08-15 19:41:11 -07:00
Thomas ten Cate
355a6c4454 Clarify the meaning of Stretch Mode/Aspect/Shrink (#1562)
* Clarify the meaning of Stretch Mode/Aspect/Shrink

... using some animated GIFs and more consistent terminology.
2018-07-10 14:04:09 +02:00
Allan Nordhøy
eb6bdf40e1 Spelling: Various fixes 2018-07-02 14:55:47 +02:00
Yuri Chornoivan
be6ef615b1 Fix minor typos 2018-07-01 15:50:18 +02:00
clayjohn
482ba1b5d5 updated Viewport tutorial 2018-06-07 23:31:09 -07:00
mhilbrunner
f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00
Swarnim Arun
02dcd6e1da Updating Viewport documentation (#1409)
* Updating the Viewport Doc
2018-04-30 16:38:12 +02:00
Yuri Chornoivan
11d534015d Fix minor typos 2018-04-18 21:44:15 +03:00
Thomas ten Cate
1488e27460 Add missing Expand stretch aspect documentation
Based on observed behaviour, so I hope I got this right :)
2018-03-03 14:25:15 +01:00
Sam Wedgwood
ac23662edf Typo in viewports.rst 2018-02-24 15:01:32 +00:00