Commit Graph

67 Commits

Author SHA1 Message Date
clayjohn
c9b1bc3a35 fixed inout variables in spatial shader 2019-02-02 14:29:20 -08:00
clayjohn
bb31bab528 fixed typo in OUTPUT_IS_SRGB 2019-01-27 00:00:20 -08: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
Rémi Verschelde
4f95bdba6e Merge pull request #2160 from clayjohn/world_matrix_uniform
Clarified use of WORLD_MATRIX in CanvasItem Shaders
2019-01-26 20:51:13 +01:00
clayjohn
2522a78f60 fixed description of canvas item matrices 2019-01-26 11:11:16 -08:00
clayjohn
39c27eb93c updated shader builtins from recent commits 2019-01-25 17:28:27 -08:00
Nathan Lovato
c6cada2385 Merge pull request #2132 from corrigentia/patch-113
Tweak vertex_displacement_with_shaders
2019-01-14 09:20:54 +09:00
corrigentia
a6663c5e7a Tweak advanced_postprocessing
Fix punctuation and spelling in advanced_postprocessing.
2019-01-13 16:06:21 +02:00
corrigentia
1776c39ef4 Tweak vertex_displacement_with_shaders
Fix punctuation in vertex_displacement_with_shaders.
2019-01-13 14:42:34 +02:00
corrigentia
052a4d038a Tweak migrating_to_godot_shader_language
Fix punctuation and grammar in migrating_to_godot_shader_language. Remove duplication.
2019-01-13 13:15:33 +02:00
corrigentia
27928c4521 Tweak screen-reading_shaders
Fix grammar and punctuation in screen-reading_shaders.
2019-01-12 11:24:32 +02:00
Michael Alexsander Silva Dias
9096b74375 Fix malformed table in "Shading language" page 2019-01-11 15:16:13 -02:00
Rémi Verschelde
0571c8c952 Merge pull request #2126 from corrigentia/patch-110
Tweak intro_to_shaders_water_workshop
2019-01-11 17:22:44 +01:00
Rémi Verschelde
8bcbaa61ce Merge pull request #2125 from corrigentia/patch-109
Tweak shader_materials
2019-01-11 17:22:28 +01:00
Rémi Verschelde
de17b79e65 Merge pull request #2124 from corrigentia/patch-108
Fix grammar and punctuation in particle_shader
2019-01-11 17:21:57 +01:00
Rémi Verschelde
82281b4b9e Merge pull request #2122 from corrigentia/patch-107
Fix grammar and punctuation in canvas_item_shader
2019-01-11 17:20:52 +01:00
Rémi Verschelde
67a1fcec3b Merge pull request #2120 from corrigentia/patch-106
Fix punctuation in spatial_shader
2019-01-11 17:20:30 +01:00
corrigentia
06b62c410c Fix punctuation and grammar in shading_language (#2119)
Fix punctuation and grammar in shading_language.
I surmise ``vec3 b = a.aaa; // Also valid, creates a vec3 and fills it with "a".`` means that ``b`` will take the ``alpha`` (4th) component of ``vec4 a`` and fill up all 3 of its components with it.
Presume intent to highlight ``b[i] < a [...] ? 0.0 : 1.0``; attempt fix.
2019-01-11 17:19:43 +01:00
corrigentia
a59b0a11a1 Fix punctuation in shaders (#2118) 2019-01-11 17:17:24 +01:00
corrigentia
85230258f4 Tweak intro_to_shaders_water_workshop
Fix punctuation and grammar in intro_to_shaders_water_workshop.
2019-01-11 16:34:21 +02:00
corrigentia
7ca7b5640b Tweak shader_materials
Tweak shader_materials.
2019-01-10 19:39:16 +02:00
corrigentia
e93cb87fe9 Fix grammar and punctuation in particle_shader
Fix grammar and punctuation in particle_shader.
2019-01-10 19:06:38 +02:00
corrigentia
57e651492b Fix grammar and punctuation in canvas_item_shader
Fix grammar and punctuation in canvas_item_shader.
2019-01-10 19:00:51 +02:00
corrigentia
979da3ae09 Fix punctuation in spatial_shader
Fix punctuation in spatial_shader.
2019-01-10 17:44:53 +02:00
Rémi Verschelde
7706f60b2d Merge pull request #2104 from clayjohn/position_builtin
Added documentation for POSITION built-in
2019-01-08 13:33:49 +01:00
Rémi Verschelde
aa7a9f8675 Misc heading fixes 2019-01-08 11:30:55 +01:00
clayjohn
1eeb2dfb74 added documentation for position built-in 2019-01-04 20:22:16 -08:00
clayjohn
f93925b0ee overhauled shading reference 2018-12-13 12:18:05 -08:00
Clay John
c26b17b377 added advanced postprocessing tutorial (#1897) 2018-12-13 11:44:20 +01:00
clayjohn
7151c1d926 moved vertex_displacement tutorial into shading 2018-11-20 15:17:19 -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
clayjohn
b21cc05ac2 expanded migration guide with vertex shader info 2018-11-05 11:07:50 -08:00
Max Hilbrunner
5a7f31fd8d Merge pull request #1834 from antoniotorresm/write-depth
Add DEPTH fragment built-in to shading language reference
2018-10-21 21:52:59 +02:00
M. Huri
034bb63e84 Repaired mistyped of 'its'. 2018-10-19 19:39:49 +07:00
Frido
6d9e3b6701 Fixed typos in Shading tutorial 2018-10-16 23:32:38 +02:00
Antonio Torres Moríñigo
410eb1d271 Add DEPTH fragment built-in 2018-10-12 12:05:55 +02:00
Max Hilbrunner
54d3875901 Merge pull request #1682 from Chaosus/matrix
Added note about matrix builds from another matrix(in shaders)
2018-08-28 17:03:25 +02:00
paul gruenbacher
1b2805d49f simple fixe for shading language 2018-08-25 16:37:48 -04:00
Chris Bradfield
f1e62064d5 Merge pull request #1693 from clayjohn/migrating_shaders
Added shader migration reference document
2018-08-21 21:28:30 -07:00
clayjohn
8605975ad6 typo fixes 2018-08-21 21:23:19 -07:00
Chris Bradfield
c8c8c9044e Merge pull request #1647 from NathanLovato/intro-to-shader-series
Add intro to shaders video series (with Bastiaan Olij)
2018-08-21 14:16:37 -07:00
Chaosus
94116e5f6d Fix FRAGCOORD in shading_language.rst 2018-08-20 11:05:04 +03:00
clayjohn
3342e5fb76 added migration reference 2018-08-19 19:06:22 -07:00
Chaosus
a726c6f9ac Added note about matrix builds from another matrix(in shaders) 2018-08-14 09:41:10 +03:00
Chris Bradfield
dd0fa36f98 Merge pull request #1640 from clayjohn/texscreen
Remove Reference to texscreen
2018-08-06 18:43:02 -07:00
Nathan Lovato
4b8672e41a Add intro to shaders video series (with Bastiaan Olij) 2018-08-04 14:26:45 +09:00
isaacremnant
df9211514c Update canvas_item's light built-in's to FRAGCOORD 2018-08-02 23:43:14 -04:00
clayjohn
6beea8dc09 remove reference to texscreen 2018-08-02 19:09:19 -07:00
Răzvan C. Rădulescu
48247c4e38 Clarify TEXTURE_PIXEL_SIZE with example 2018-06-30 08:12:12 +02:00