Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve shader function descriptions #9338

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5cf349d
Initial test of new shader function style
clayjohn Apr 4, 2022
e3983ae
Merge remote-tracking branch 'origin/master' into shader-funcs
May 2, 2024
44e4170
Shader Functions are in separate file, table is split into categories
May 3, 2024
15f5c41
Copy-Paste more shader functions
May 4, 2024
0d6f703
finished exponential/common math category
May 5, 2024
01bc15a
complete the Geometric Functions section
May 7, 2024
12204a1
completed comparison functions
May 7, 2024
673ec8c
halfway through texture functions
May 7, 2024
a64aa2a
finished texture functions and packing functions
May 8, 2024
ef9f564
finished Bitwise Operations
May 8, 2024
dcdae15
Fixed typo
May 8, 2024
37229bc
Minor Typo and formatting fixes
AshbyGeek May 10, 2024
2f8f256
Another minor typo fix
May 10, 2024
6eeba26
Improve table summaries, fix typos, add availability notes
Jul 5, 2024
7e52823
Combine docs for very similar functions
Jul 5, 2024
5042d00
Fix two hyperlinks
Jul 5, 2024
eaf1542
Merge branch 'godotengine:master' into ashbygeek/shader-funcs
AshbyGeek Jul 5, 2024
cb3ee13
Update tutorials/shaders/shader_reference/shader_functions.rst
AshbyGeek Aug 7, 2024
cc797b0
Update tutorials/shaders/shader_reference/shader_functions.rst
AshbyGeek Sep 13, 2024
3247c9c
Update tutorials/shaders/shader_reference/shader_functions.rst
AshbyGeek Sep 13, 2024
f084d80
Update tutorials/shaders/shader_reference/shader_functions.rst
AshbyGeek Sep 13, 2024
f10efe2
Fix Typo
AshbyGeek Sep 13, 2024
87c01b1
Fix Component-Wise notes & some formatting
Sep 19, 2024
c3877e9
Merge remote-tracking branch 'origin/ashbygeek/shader-funcs' into ash…
Sep 19, 2024
22d85a0
Fix note about component-wise operators
Sep 19, 2024
9e39260
Fix a build warning
Sep 19, 2024
4363a07
Fix GLSL 4.0 mistake
AshbyGeek Sep 25, 2024
220fb2b
Fix minor formatting in shading languages
AshbyGeek Sep 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions _static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,31 @@ html.writer-html5 .rst-content table.docutils th {
.wy-table-responsive table.wrap-normal th {
white-space: normal;
}
/* Turn nowrap on per-column */
.wy-table-responsive table.nowrap-col1 td:nth-child(1),
.wy-table-responsive table.nowrap-col1 th:nth-child(1) {
white-space: nowrap;
}
.wy-table-responsive table.nowrap-col2 td:nth-child(2),
.wy-table-responsive table.nowrap-col2 th:nth-child(2) {
white-space: nowrap;
}
.wy-table-responsive table.nowrap-col3 td:nth-child(3),
.wy-table-responsive table.nowrap-col3 th:nth-child(3) {
white-space: nowrap;
}
.wy-table-responsive table.nowrap-col4 td:nth-child(4),
.wy-table-responsive table.nowrap-col4 th:nth-child(4) {
white-space: nowrap;
}
.wy-table-responsive table.nowrap-col5 td:nth-child(5),
.wy-table-responsive table.nowrap-col5 th:nth-child(5) {
white-space: nowrap;
}
.wy-table-responsive table.nowrap-col6 td:nth-child(6),
.wy-table-responsive table.nowrap-col6 th:nth-child(6) {
white-space: nowrap;
}

/* Make sure line blocks don't stretch tables */
.wy-table-responsive table .line-block {
Expand Down Expand Up @@ -1135,6 +1160,7 @@ kbd.compound > .kbd,
.classref-descriptions-group > p.classref-annotation,
.classref-descriptions-group > p.classref-themeproperty,
.classref-descriptions-group > p.classref-method,
.classref-descriptions-group > div.classref-method.line-block,
.classref-descriptions-group > p.classref-constructor,
.classref-descriptions-group > p.classref-operator,
.classref-descriptions-group > p.classref-constant,
Expand Down
1 change: 1 addition & 0 deletions tutorials/shaders/shader_reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Shading reference
:name: toc-shading-reference

shading_language
shader_functions
shader_preprocessor
spatial_shader
canvas_item_shader
Expand Down
Loading