Commit Graph
50 Commits
Author SHA1 Message Date
Yuri Roubinsky 864857b516 Fix formatting on shader structs examples 2020-02-18 09:39:12 +03:00
Yuri Roubinsky cbfa37a978 Added docs for shader struct 2020-02-16 11:02:16 +03:00
Yuri Roubinsky 4257cc65cf Fix typo 2020-02-13 20:31:45 +03:00
Yuri Roubinsky 4505b3b9e7 Added changes about swizzling to shading docs 2020-02-13 20:27:21 +03:00
Yuri Roubinsky d70f461141 Added note about varying arrays to shading_language 2020-01-21 10:28:15 +03:00
Yuri Roubinsky 3df0d90eef A little bit better shader array construction example 2020-01-20 09:09:02 +03:00
Yuri Roubinsky 536f88a1bc Added missing constructor for shader arrays 2020-01-18 12:00:48 +03:00
rainlizard ed906f81b0 Clarifying hint_albedo converts color space (#2925) 2019-11-29 13:48:29 +01:00
PouleyKetchoupp 854185495c Fixed code tags for true/false/null and a few property references 2019-11-02 13:09:14 +01:00
azagaya e5ad91e603 Fix LIGHT_VEC description, and add SHADOW_VEC. 2019-09-21 17:32:25 -03:00
Chaosus89 de8cdefce7 Adds break to default case in switch flow operator (shaders). 2019-09-12 15:48:00 +03:00
Yuri Roubinski fc57814c37 Note about switch in shaders 2019-08-24 16:22:07 +03:00
Yuri Roubinsky 00215333c8 Fix description about shader constant declaration (#2701)
Fix description about shader constant declaration
2019-08-16 17:46:30 +03:00
Yuri Roubinski a7362fb460 Replaced tab to spaces in do-while description
(sorry)
2019-08-13 19:02:32 +03:00
Yuri Roubinski 9375ecaf30 Added "do while" to flow control shader description 2019-08-13 18:57:48 +03:00
Yuri Roubinski dd44b12d75 Fix description about shader constant declaration 2019-08-13 14:22:24 +03:00
Yuri Roubinski 24e5998189 Added notes about local constants for shaders 2019-08-08 12:45:43 +03:00
Rémi Verschelde 32d21eaf4b Merge pull request #2631 from vortexofdoom/spatial-shader
Organized and updated spatial shader docs
2019-07-23 08:16:49 +02:00
Daniel Larson 12010e1449 Organized and updated spatial shader docs 2019-07-22 20:53:17 -05:00
FlamyAT ad36d7a342 Replace "shaders" with "shadows" in "shadows_disabled" 2019-07-22 10:04:46 +02:00
Chaosus baedff7992 Added missed desc for shader built-in overload (textureProjLod) 2019-07-19 12:45:08 +03:00
Chaosus e6a0273027 Docs for local shader arrays 2019-07-18 07:09:40 +03:00
Rémi Verschelde 524221343b Merge pull request #2616 from clayjohn/fragcoord-info
Update FRAGCOORD descriptions
2019-07-15 14:29:09 +02:00
Chris Bradfield 0f36c83a4e Merge pull request #2610 from Chaosus/update_shader_funcs
Update shader built-ins
2019-07-14 15:50:26 -07:00
clayjohn d66aed8cd9 update FRAGCOORD descriptions 2019-07-12 10:33:22 -07:00
Chaosus 87a636b335 Update shader datatypes 2019-07-12 15:41:29 +03:00
Chaosus 9bfd4c400c Update shader built-ins 2019-07-11 20:15:59 +03:00
Hugo Locurcio 007db6f734 Clarify features that are only available in GLES3
This complements the "Differences between GLES2 and GLES3" page
by incorporating some of its information in individual pages.
2019-06-19 16:37:43 +02:00
Chaosus b784006512 Added information about shader constants 2019-06-12 21:09:20 +03:00
clayjohn 79b5ad9d5b reflect that SHADOW_COLOR is implemented 2019-03-26 17:19:34 -07:00
ludorverr 57ce0a7051 Example of a light shader (#2260) 2019-03-21 23:15:28 -07:00
Clay John d0eacac884 Added shading language differences to gles2 doc (#2237) 2019-03-10 11:24:29 +01:00
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 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
Michael Alexsander Silva Dias 9096b74375 Fix malformed table in "Shading language" page 2019-01-11 15:16:13 -02: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 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