Beuc
77f13f16a5
Normalize texture coordinates in [0,1] to avoid seam mark ( #3936 )
2020-08-28 11:51:43 +02:00
Beuc
f54e18fef0
Fix double scaling ( #3934 )
2020-08-27 01:24:33 +02:00
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
Michael Alexsander
cfc0465760
Remove references for the now removed "Constants" section in the shader migration page
2020-07-01 11:43:59 -03:00
Yuri Roubinsky
77d02a2524
Removed "Constants" paragraph from migrating-to shader page
2020-07-01 10:27:22 +03:00
Yuri Roubinsky
c6c323b1c4
Fix shader array formatting ( #3725 )
2020-06-23 11:20:28 +02:00
clayjohn
1faf5210d9
Update screen reading shader doc with 3D info
2020-06-20 12:57:37 -07: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
Rémi Verschelde
ce7a9a6eab
Images: Remove unused images (no 'image::' or 'figure::' reference)
2020-06-05 14:43:20 +02:00
Hugo Locurcio
f7cfcacc58
Fix numbering in the ordering section of Shader language style guide
2020-05-21 14:38:01 +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
Michael Alexsander
fec78c3c04
Fix some more errors
2020-04-17 16:43:12 -03: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
Michael Alexsander
58ff2e036a
Fix some recent errors and styling ( #3375 )
2020-04-12 15:25:45 +02:00
Hugo Locurcio
293ccf7f68
Add a style guide for the Godot shader language
...
This closes #3091 .
2020-04-11 21:01:28 +02:00
Aaron Franke
b16a8eaf19
Merge pull request #3282 from pycbouh/replace-outdated-references
...
Replace Pool*Arrays with Packed*Arrays in tutorials and references
2020-03-22 22:05:21 -04: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 Sizov
075acc61b0
Replace Pool*Arrays with Packed*Arrays in tutorials and references
2020-03-17 11:15:34 +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
Rodion Borisov
58af172899
Changled link to Shadertoy (mirror #3026 )
...
#3026
There is known issue with heavy page load at www.shadertoy.com, which imposes GPU intensive shaders on main page: https://bugs.chromium.org/p/chromium/issues/detail?id=33620 . It leads user's PC to go nuts even on second load.
2020-01-02 21:51:07 +03:00
Rodion Borisov
103913ee16
Changed link to GPU intensive website.
...
There is known issue with heavy page load at www.shadertoy.com, which imposes GPU intensive shaders on main page: https://bugs.chromium.org/p/chromium/issues/detail?id=33620 . It leads user's PC to go nuts even on second load. Bug is marked as "WontFix", which is unsettling.
I thought that it's quite exhaustive user experience, that distracts from reading documentation. So, I've placed link with reduced search results to avoid this inconsistency.
2020-01-02 18:18:56 +03:00
Tim Krief
0ea832a722
Remove unnecessary "}"
2019-12-11 22:00:02 +01:00
skyace65
010188a56a
Replace images and move text for visual shader page
2019-12-09 22:20:42 -05:00
rainlizard
ed906f81b0
Clarifying hint_albedo converts color space ( #2925 )
2019-11-29 13:48:29 +01:00
WT
1a9779716a
Added visual shader tutorial
2019-11-29 13:28:09 +01:00