tetrapod
94c606058b
Move "Advanced Postprocessing" to follow "Custom Postprocessing"
2023-10-08 19:19:51 -07:00
Max Hilbrunner
20a6f9ea14
Merge pull request #8069 from kb173/master
...
Add instructions on sky shader optimization
2023-10-03 23:57:21 +02:00
Hex-4
37a96ba407
Close #7690 (add info for shader hints and default values) ( #8117 )
...
* add comment for default values
* Add a line telling where the default value goes
---------
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2023-10-02 10:57:16 +02:00
Aaron Franke
3407328860
Fix typos: "modelling" -> "modeling"
2023-10-01 12:52:25 -05:00
LandscapeLab Office
d1fc885543
Add instructions on sky shader optimization
2023-09-27 14:16:05 +02:00
Rémi Verschelde
adbab1482c
Merge pull request #6979 from JohanAR/shaderpp_concat
...
Add concatenation to shader preprocessor
2023-09-27 10:51:36 +02:00
Max Hilbrunner
a766184cf1
Merge pull request #8015 from thygrrr/shader-example-lighting-fix
...
Update spatial_shader.rst
2023-09-27 03:04:25 +02:00
Luna
0fe7ff833e
Fixed typos in several doc files ( #8002 )
...
* Fixed typos in
- c_sharp_differences.rst
- debugger_panel.rst
- gdextension_cpp_example.rst
- gui_using_fonts.rst
- openxr_hand_tracking.rst
- overview_of_debugging_tools.rst
- setting_up_xr.rst
- shading_language.rst
- the_profiler.rst
- your_second_3d_shader.rst
* Update tutorials/shaders/shader_reference/shading_language.rst
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
* PR Feedback
---------
Co-authored-by: Luna <2650849-Lunalicious@users.noreply.gitlab.com >
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2023-09-25 00:41:33 +02:00
Thygrrr
bd7eb30f29
Update spatial_shader.rst
...
The reference page suggests a very unfortunate lighting function that modulades the color values in ALBEDO again. This does not seem representative of the shading model.
Also, it omitted LIGHT_COLOR; repalcing the ALBEDO term with LIGHT_COLOR gives a much more expected diffuse lighting example.
2023-09-23 13:00:40 +02:00
Max Hilbrunner
8b4cc3b229
Merge pull request #7897 from TidB/master
...
Fix SIZE built-in in fog shader reference
2023-09-13 04:16:06 +02:00
TidB
4d22f09704
Fix SIZE built-in in fog shader reference
...
It has been renamed from EXTENTS; while its description was completely unrelated (copied from the sky shader reference)
2023-09-09 14:39:15 +02:00
Milan Gruner
ed7b0374cc
Add documentation for render mode fog_disabled and Disable Fog in BaseMaterial3D
2023-09-05 21:44:20 +02:00
Johan Aires Rastén
d3f86dc941
Add concatenation to shader preprocessor
2023-08-16 16:42:09 +02:00
Max Hilbrunner
1442ace7a5
Merge pull request #7560 from cridenour/patch-1
2023-07-18 13:43:49 +02:00
Max Hilbrunner
fa01e18ae3
Merge pull request #7655 from Calinou/fix-backticks
2023-07-18 13:21:11 +02:00
Bruno
ca634145ac
Update particle_shader.rst
2023-07-18 00:31:49 -06:00
Bruno
f2bfa933a2
Update tutorials/shaders/shader_reference/particle_shader.rst
...
Co-authored-by: Clay John <claynjohn@gmail.com >
2023-07-17 22:59:00 -06:00
Bruno
a88b6888b7
add USERDATA* built in reference
2023-07-17 00:43:33 -06:00
Hugo Locurcio
df904137db
Fix incorrect usage of backticks in various pages
2023-07-14 19:31:01 +02:00
Matthew
d3d680729e
Merge pull request #7561 from Calinou/spatial-shader-light-color-pi-multiplier
...
Document `LIGHT_COLOR` being multiplied by `PI` in Spatial shader
2023-07-05 20:10:53 -04:00
ffernn
2076e147c2
Added sky and fog shaders the the "Built-in variables" section
2023-06-28 17:47:02 +10:00
Hugo Locurcio
f57bdb3758
Document LIGHT_COLOR being multiplied by PI in Spatial shader
2023-06-26 10:12:28 +02:00
Chris Ridenour
2bea88b4ea
Fix OBJECT_POSITION description to match engine behavior.
2023-06-25 23:34:26 -04:00
Matthew
8d5eeed364
Merge pull request #7536 from rametta/patch-1
...
Updates to visual_shaders.rst to show new way to create visual shaders
2023-06-23 18:07:18 -04:00
Jason
4415f9895c
Updates to visual_shaders.rst to show new way to create visual shaders
2023-06-23 09:43:51 -04:00
Matthew
a187bedcc7
Merge pull request #7510 from CURR-E/Vertex
...
Change WORLD_NORMAL_MATRIX to MODEL_NORMAL_MATRIX
2023-06-19 08:57:17 -04:00
Arpit Srivastava
f050e6b715
Minor grammar correction in your_first_3d_shader.rst
2023-06-17 17:47:14 +05:30
Curry
a86f24f098
Update spatial_shader.rst
...
Changes WORLD_NORMAL_MATRIX to MODEL_NORMAL_MATRIX
2023-06-14 04:25:16 +10:00
Arpit Srivastava
bf16102cc3
Add missing full stop
2023-06-10 23:21:19 +05:30
Max Hilbrunner
2de3798d56
Merge pull request #7007 from PoolloverNathan/issue/godotengine/7006
2023-06-02 16:51:28 +02:00
bitsawer
b3db4c16b4
Update pygments to 2.15.1 and restore fixed shader syntax highlighting
2023-05-29 17:53:09 +03:00
Jason McGhee
d37226e0d7
Fix compute_shaders.rst C# code snippets to compile ( #7433 )
2023-05-29 11:18:17 +02:00
Alex Es
c3cda2cf50
Update descriptions and types for CanvasItem built-ins ( #7283 )
...
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2023-05-17 10:29:18 +02:00
Max Hilbrunner
f9b5650149
Merge pull request #7168 from Calinou/compute-shaders-tdr
2023-05-06 14:55:09 +02:00
Hugo Locurcio
7c72ffacaf
Mention Windows graphics driver TDR issues on Using compute shaders
...
This is a frequently encountered issue when working with complex
compute shaders.
2023-05-06 03:25:28 +02:00
Johan Aires Rastén
d3f0ec6c3a
Add SPECULAR_AMOUNT spatial light shader built-in
2023-05-04 09:45:05 +02:00
Max Hilbrunner
e6dbfe17ce
Merge pull request #7236 from Piralein/shader 🧙♂️
...
Your first 3D shader - update outdated images and information
2023-04-28 02:53:11 +02:00
red thing
3bc758d062
set_shader_param -> set_shader_parameter ( #7235 )
...
It was renamed in Godot 4.
2023-04-27 09:45:42 -07:00
Hana - Piralein
9dc3996534
update outdated images and information
2023-04-27 14:31:45 +02:00
Johan
930ad1f77b
Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders ( #7194 )
2023-04-26 10:23:20 -07:00
Max Hilbrunner
628d4f94d2
Complete render modes list in shaders docs
2023-04-14 03:19:55 +02:00
Bastiaan Olij
e36ef29eba
Add descriptions of multiview build-ins and EYE_OFFSET to shader reference
2023-04-14 02:47:57 +02:00
Alfonso Arbona Gimeno
a9076972a7
Fix small typos in the particle shader doc
...
A word was missing a letter and a description had a wrongly capitalized word. Now it matches the rest of the document
2023-04-09 04:43:06 +00:00
Tom McLean
78b978c9bd
Fix references to DEPTH_TEXTURE and SCREEN_TEXTURE ( #7119 )
...
* Fix references to DEPTH_TEXTURE
---------
Co-authored-by: Clay John <claynjohn@gmail.com >
2023-04-07 18:32:25 +02:00
Hugo Locurcio
96eb7d05ff
Document SDFGI sharp reflections only working on opaque materials
...
Transparent materials only use rough reflections, likely for
performance reasons.
2023-03-24 21:08:25 +01:00
Max Hilbrunner
292804554e
Merge pull request #6974 from hmans/improve-shader-include-docs
...
Improve shader #include documentation
2023-03-19 02:11:35 +01:00
PoolloverNathan
843ce4056c
doc_converting_glsl_to_godot_shaders/Macros: Replace text about migrating macros with a short list of supported macros
2023-03-17 21:32:42 -04:00
clayjohn
0c8c8feb72
Explain the start and process functions for particle shaders
...
Add references in the particle shader doc and the migration guide
2023-03-17 12:28:23 -07:00
Hendrik Mans
57a1bce6e2
Fix typo ("blackslash") on shader preprocessor page
2023-03-13 11:33:10 +01:00
Hendrik Mans
6360ebc73c
Improve shader #include documentation
2023-03-13 11:29:37 +01:00