Commit Graph
75 Commits
Author SHA1 Message Date
Beuc ab7c0a62fc Clarify what UV means in CanvasItem shaders (#3933) 2020-08-26 23:02:00 +02:00
Clay John ff9d67f7e8 Add disable_fog to Sky shaders documentation (#3906) 2020-08-20 15:02:11 +02:00
Per Malmberg 8d48933e91 Fix return value for float-version of mix() in shading reference (#3812) 2020-07-19 17:16:43 +02:00
Kurt 8708a56a3d fix typo of 'Cross croduct' to 'Cross product' 2020-07-10 17:36:50 -04:00
Yuri Roubinsky 744d1b2852 Added 'fma' function to shader docs 2020-07-10 21:46:07 +03:00
bmolyneaux f48162e9cc Add clamp to custom light function example (#3752)
Without this clamp, negative lighting will be applied to the back side of the object.
2020-07-03 22:15:48 +02:00
Yuri Roubinsky 49cb63e5fa Adds 'const' as shader function parameter qualifier 2020-07-03 09:09:13 +03:00
Yuri Roubinsky c6c323b1c4 Fix shader array formatting (#3725) 2020-06-23 11:20:28 +02:00
Yuri Roubinsky c944952339 Added note about global shader arrays 2020-06-20 09:18:53 +03:00
Hugo Locurcio 0d6f2e8703 Document that light() functions aren't run if vertex shading is forced
See https://github.com/godotengine/godot/issues/39513.
2020-06-13 20:05:39 +02:00
Hugo Locurcio 251b86949c Document the lack of dynamic loops in WebGL 1.0
I documented it in both places where it could be relevant to ensure
people don't miss it.

This closes #2980.
2020-06-08 11:22:55 +02:00
Hugo Locurcio 4f6fdbc710 Fix various spacing and capitalization issues 2020-05-18 09:54:32 +02:00
Hugo Locurcio d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Rémi Verschelde e614de27ed Merge pull request #3494 from RandomShaper/canvas_modulate
Improve docs on TIME
2020-05-06 08:15:52 +02:00
Pedro J. Estébanez 10e2e31c88 Improve documentation about TIME CI shader builtin 2020-05-05 20:46:40 +02:00
Marcel Admiraal a865a960f7 Convert SpatialMaterial references to StandardMaterial3D. 2020-05-04 20:09:23 +01:00
Clay John 8bd9da0ca0 Initial Sky shader reference page (#3416)
* Initial Sky shader reference page
2020-04-27 18:56:10 +02:00
Rémi Verschelde e6b00ca97a Misc formatting fixes 2020-04-27 12:17:47 +02:00
Yuri Sizov 135b33b768 Replace British spelling and fix various typos 2020-04-27 12:18:52 +03:00
Hugo Locurcio c3e05904a0 Improve the shader reference table formatting
This also adds a note about the `pow()` result being undefined
in certain conditions.
2020-04-25 21:20:32 +02:00
Hugo Locurcio 046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
Hugo Locurcio 8e0caddac3 Fix typos found using codespell -wi3 ^classes/**/*.rst 2020-04-16 21:01:09 +02:00
Yuri Roubinsky e1d864c848 Rearrange description of shader built-in a bit 2020-03-20 13:54:03 +03:00
Yuri Roubinsky 7511bf7b4b Removed invalid spaces in shader "TIME" 2020-03-20 12:49:15 +03:00
Yuri Roubinsky f2f8c00909 Mark shader TIME as global built-in 2020-03-20 08:29:17 +03:00
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