Commit Graph
49 Commits
Author SHA1 Message Date
Markus Sauermann aaf6b3e504 Update tutorials: Rename Transform to Transform3D (#5603) 2022-02-14 13:27:37 +01:00
HoustonBass 525d3565ef Update NORMALMAP builtin name in Your first 3D shader (#5546) 2022-01-25 15:41:17 +01:00
clayjohn 565b00d611 Add fog shaders to shader refererence 2022-01-21 23:56:16 -08:00
skyace65 acba96655c Remove outdated vertex attributes link 2021-12-31 12:28:14 -05:00
Hakunamawatta b276648dd6 Fix "inspecter" to "inspector" 2021-12-29 20:56:24 +11:00
Yuri Roubinsky 58bc70ff28 Few more fixes/enchancements to shaders 2021-12-12 21:38:29 +03:00
Yuri Roubinsky d69f94283b More fixes for shader built-ins 2 2021-11-27 19:05:32 +03:00
Yuri Roubinsky 729648f135 More fixes for shader built-ins 2021-11-27 15:31:30 +03:00
Max Hilbrunner d57da375f2 Merge pull request #5277 from Calinou/advanced-postprocessing-fix-ndc
Fix NDC coordinates for Vulkan in Advanced post-processing
2021-11-03 19:15:18 +01:00
Yuri Roubinsky 77bd7e824a Added new shader built-ins & modify some old 2021-10-17 18:02:41 +03:00
Hugo Locurcio 0d3abab67b Fix "shinning" typo in Shading language 2021-10-15 15:02:06 +02:00
Yuri Roubinsky 76e3e720a0 Fix spacing of built-in in shaders 2021-10-12 20:36:14 +03:00
Yuri Roubinsky a52f95776e Added new shader built-ins descriptions 2021-10-12 19:35:17 +03:00
Rémi Verschelde 9a05eef561 4.0: Convert Sprite references to Sprite2D
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Hugo Locurcio 4ba5a42f9c Fix NDC coordinates for Vulkan in Advanced post-processing 2021-09-22 18:08:02 +02:00
Aaron Franke 5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
Aaron Franke 4060179184 Remove trailing space characters (#5251) 2021-09-13 14:52:39 +02:00
luzpaz d9bc787dd9 Fix various typos (#5215)
Fix various typos

Found via `codespell -q 3 -S ./LICENSE.txt -L doubleclick,findn,lod,inout,nd,raison,te`
2021-09-02 17:02:23 +03:00
Yuri Roubinsky e8f8bcb27e Added more notes about shader varyings (#5116)
* Added more notes about shader varyings
2021-07-26 20:43:15 +02:00
Oskar van Velden 1bf43b56a6 Add reference to build-in variables in Shader Language overview (#5084)
* Add reference to build-in variables in Shader Language overview
2021-07-12 12:40:19 +02:00
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00
Max Hilbrunner 982615c9c5 Merge pull request #4969 from Calinou/screen-reading-shaders-backbuffercopy
Clarify when to use BackBufferCopy in Screen-reading shaders
2021-07-06 08:32:53 +02:00
hpnrep6 d4a42c9776 Fix hyperlink usage in Your first 2D/3D shaders (#5048) 2021-06-25 19:12:03 +02:00
Yuri Roubinsky 6c39f5c5c0 Fixes some shader built-ins (again) 2021-06-20 20:24:01 +03:00
Yuri Roubinsky 86a4f444fe Added shader built-in constants + fix formatting of table headers 2021-06-17 13:28:51 +03:00
Hugo Locurcio ed27f6fc3d Clarify when to use BackBufferCopy in Screen-reading shaders 2021-06-07 23:19:16 +02:00
Rémi Verschelde 044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Morris Tabor 5927b29ec0 fix the doc for skip_vertex_transform.
(cherry picked from commit d8568535dc)
2021-06-02 11:36:15 +02:00
Hugo Locurcio 6babc68649 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.
2021-05-26 16:59:08 +02:00
Yuri Roubinsky 648dc568c3 Updates shader built-ins 2021-05-22 12:48:18 +03:00
Dennis BrakhaneandHugo Locurcio 5c746e9d27 Clarify 'bgr' swizzle example in Shading language (#4868)
Saying that "order does not matter" is wrong or at least misleading.

This commit changes the comment to show that vector components can be
combined freely, and the order matters.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-04-25 22:07:18 +02:00
FeralBytesandHugo Locurcio 7f92ed4d29 Fix height() functions missing return in Your second 3D shader (#4631)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-02-07 23:07:00 +01:00
FeralBytesandHugo Locurcio 357c89e980 Fix confusing writing in Your first 3D shader (#4627)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-02-07 16:54:50 +01:00
Matthew 621833f2a6 Clarify instructions in Your first 2D shader (#4527) 2021-01-07 01:47:28 +01:00
Hugo Locurcio 414eee471f Document the ternary operator in Shading language 2020-12-08 16:18:59 +01:00
Nathan Lovato 5ab8841c25 Edit shading language page
Fill columns, fix a list, move explanations about floating-point
comparisons outside code blocks so they can be translated.
2020-11-27 11:12:50 -06:00
Hugo Locurcio a379df680c Document how to compare floats properly in Shading language
This closes #4342.
2020-11-06 23:26:40 +01:00
lukostello e2c2becefe Explain what fractional means in the Shading language reference (#4328) 2020-11-01 14:46:01 +01:00
Hugo Locurcio 6b89096be5 Fix shader TIME description to match how it actually works 2020-10-24 13:32:48 +02:00
Nathan Lovato c51a2e5305 Merge pull request #4284 from Calinou/improve-shader-time
Improve explanations around shader language's `TIME` variable
2020-10-23 17:37:29 -06:00
9772070be5 Add FOG/RADIANCE/IRRADIANCE built-ins in Spatial shaders (#4301)
Co-authored-by: Melody Morse <14865089+MelodyMorse@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-23 19:55:09 +02:00
Hugo Locurcio ef874eacd4 Improve explanations around shader language's TIME variable 2020-10-17 15:31:05 +02:00
Hugo Locurcio 4dbbf3dc92 Improve the shading language reference table
This closes #4274.
2020-10-15 19:46:37 +02:00
Nathan Lovato 500bb5048d Merge pull request #4241 from NathanLovato/organization/merge-shader-intros
Merge and edit intro to shader pages
2020-10-13 06:59:32 -06:00
Nathan LovatoandClay John 0800225a54 Apply suggestions from code review
Co-authored-by: Clay John <claynjohn@gmail.com>
2020-10-12 21:06:53 -06:00
Nathan Lovato f19083670a Move pages out of the tutorials/content section
Remove the section
2020-10-10 22:20:46 -06:00
Nathan Lovato 7b300499a6 Merge and edit intro to shader pages
Closes #4156
2020-10-09 11:27:32 -06:00
Pablo Escobar e704124b4f Document addition of METALLIC to light() built-ins 2020-10-09 15:06:55 +02:00
Nathan Lovato ad4c479d68 Rename shading section into shaders
Closes #4155
Closes #4154
2020-10-08 16:56:58 -06:00