tetrapod00
3d9ca63b15
Fix compile error in advanced_postprocessing.rst
2024-08-31 03:27:49 +02:00
skyace65
a20860bfd0
Update using a viewport as a texture tutorial for 4.2
...
(cherry picked from commit 74077e0edf )
2024-07-24 21:05:58 +02:00
Patrick Exner
f4679b0b57
Remove reference of `vertex` in particle shaders
...
(cherry picked from commit db0c9bb046 )
2024-07-24 21:03:23 +02:00
Nitwel
2704978dbd
Entering transparent pipeline when reading ALPHA
...
It's just a minor change, but I got confused on why the material was still using the transparent pipeline even though I removed all writes to ALPHA. So adding this should clarify things.
(cherry picked from commit 99da9754d1 )
2024-07-24 21:03:07 +02:00
jsjtxietian
b2599b7b86
Mention that user is responsible for POSITION value when it's written to anywhere in the shader
...
(cherry picked from commit f6ddd71040 )
2024-07-24 21:02:51 +02:00
xXAdrXx
265e537b95
Add CAMERA_VISIBLE_LAYERS to spatial shader docs ( #9244 )
...
(cherry picked from commit 7c8f2cb5ef )
2024-07-24 21:01:33 +02:00
Radiant
0214f6bc85
make mat4 consistent with vec4 ( #9298 )
...
(cherry picked from commit 348be5b0e0 )
2024-07-24 21:00:49 +02:00
dawei-wang
ebfaa41b66
Complete the example for "skip_vertex_transform"
...
Fix godotengine/godot-docs#9108
(cherry picked from commit ec274eb46a )
2024-07-24 20:56:28 +02:00
Ricardo Buring
509095d65f
Clarify per-instance uniforms are not supported in the Compatibility renderer
...
(cherry picked from commit 60e05c8ef4 )
2024-07-24 20:55:30 +02:00
Samuel Ammonius
4b8fbb8939
Update canvas_item_shader.rst
...
I tested it and it is upper left, not lower left.
This is the CanvasItem shader I used to test it:
shader_type canvas_item;
void fragment() {
if(distance(FRAGCOORD.xy, vec2(40, 40)) < 30.0)
COLOR = vec4(1,0,0,1);
else
COLOR = vec4(0,0,0,1);
}
(cherry picked from commit b71cec668a )
2024-07-24 20:31:40 +02:00
Matthew
e7ab8017e9
Merge pull request #9006 from alitnk/patch-1
...
docs: typo in `spatial_shader.rst`
(cherry picked from commit 94d114a418 )
2024-07-24 20:28:44 +02:00
Max Hilbrunner
4ce0f8963f
Merge pull request #9255 from skyace65/ShaderLink
...
Fix dead link in shader style guide
(cherry picked from commit e5858114d8 )
2024-05-07 12:59:24 +02:00
Max Hilbrunner
6e45b859f9
Merge pull request #9050 from skyace65/SkyRadians
...
Change degress to radians for sky shader built in
(cherry picked from commit 2f1c8a79f9 )
2024-05-07 12:55:52 +02:00
Max Hilbrunner
b5cfb3a0af
Merge pull request #8897 from skyace65/Custom-Post-Processing
...
Remove outdated references to other tutorial
(cherry picked from commit 21678460aa )
2024-05-07 12:52:56 +02:00
Max Hilbrunner
89eba76d18
Merge pull request #8818 from jsjtxietian/patch-5
...
Update spatial_shader.rst to delete outdated light shader usage
2024-01-25 10:24:26 +01:00
Max Hilbrunner
8fbbdbf4bf
Merge pull request #8694 from seadylan/patch-1
...
Fixed unordered list markup in "Converting GLSL to Godot shaders"
2024-01-25 10:13:20 +01:00
Max Hilbrunner
c9c73be72d
Merge pull request #8708 from jsjtxietian/patch-2
...
Update spatial_shader.rst to mention godot use the same VIEW vector for both perspective and orthogonal cameras.
2024-01-25 10:00:48 +01:00
Matthew
fb31598828
Merge pull request #8669 from jsjtxietian/patch-1
...
Update textureQueryLevels to mention it returns 1 when the texture is unassigned
2024-01-25 09:56:03 +01:00
Matthew
6c79237950
Merge pull request #8635 from Calinou/shading-language-fix-classref-link
...
Fix per-instance shader parameter classref link in Shading language
2024-01-25 09:54:27 +01:00
Patrick Exner
3c54d71038
Update first 2D shader TEXTURE built-in variable section
2024-01-25 09:43:05 +01:00
AveMo
6b7c76f6e9
Removed reference to 'DEPTH' in CanvasItem shaders ( #8616 )
...
* Remove 'DEPTH' constant from CanvasItem shaders
* Re-added Origin mention
2024-01-25 09:39:18 +01:00
Hugo Locurcio
7fb4080299
Document limitations of local RenderingDevices in Using compute shaders
2023-11-24 20:38:21 +01:00
Matthew
fabd885d89
Merge pull request #8459 from ShlomiRex/visual_shaders_interface
...
Add visual shader node interface explanation
2023-11-24 14:28:24 -05:00
Max Hilbrunner
1088ee341b
Merge pull request #8523 from AThousandShips/comment_fix
...
Fix some headers that were incorrectly comments
2023-11-23 13:08:48 +01:00
Max Hilbrunner
37a5a9b4f7
Merge pull request #8506 from clayjohn/shaders-CI-particles
...
Update shader reference pages for canvas_item shaders and particle shaders for 4.2
2023-11-23 13:08:04 +01:00
A Thousand Ships
00e4e554e1
Fix some headers that were incorrectly comments
2023-11-23 12:21:53 +01:00
clayjohn
da93553be2
Update shader reference pages for canvas_item shaders and particle shaders for 4.2
2023-11-21 11:43:36 -07:00
tetrapod
ab5bba9dfe
Removed specular_phong and specular_blinn from spatial_shader.rst
2023-11-19 22:29:25 -08:00
Shlomi
ee9e10e6a9
Update vs_node.webp
...
Added port types
2023-11-19 01:11:51 +02:00
Max Hilbrunner
9aba4a087a
Merge pull request #8467 from Calinou/remove-unused-images
...
Remove unused images
2023-11-15 07:10:03 +01:00
Pikario
b65d7cab1b
Update the default diffuse mode
2023-11-13 23:34:58 +01:00
Hugo Locurcio
f9817954c7
Remove unused images
...
This reduces the size of ZIP downloads for offline reading.
Unused images were found by running `_tools/list-unused-images.sh`.
These images were used in Godot 2.x and 3.x documentation,
but have been replaced by remade images with different names since.
2023-11-13 21:57:19 +01:00
kleonc
be0806bbc0
Document VERTEX_ID, INSTANCE_ID built-ins for canvas_item vertex shader
2023-11-02 12:35:45 +01:00
Hugo Locurcio
2b3c3c3ef4
Document source_color shader hint being relevant for 2D HDR
2023-11-01 19:25:04 +01:00
Hugo Locurcio
9773552257
Emphasize the importance of mipmaps for textureLod() in Screen-reading shaders
...
This also mentions that reading the normal/roughness buffer is only
currently supported in Forward+.
2023-10-26 02:32:37 +02:00
Max Hilbrunner
a6411c7d9d
Merge pull request #8198 from tetrapod00/patch-2
...
Reorder "Advanced Postprocessing" page to after "Custom Postprocessing"
2023-10-21 20:55:14 +02:00
Jan Thomä
c490d5ede6
fix: vertex coordinates are in canvas space
2023-10-19 17:37:03 +02:00
tetrapod
bbb9f3efb8
Add link to "Environment and Post-Processing" from "Custom Post-Processing"
2023-10-08 20:47:30 -07:00
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