Update shading_language.rst

Fix CanvasItem lighting shader table to make it visible again
Add missing variables to it
This commit is contained in:
Pedro J. Estébanez 2016-08-27 12:47:28 +02:00 committed by GitHub
parent 4ee6f6bc66
commit 0578391bf5
1 changed files with 5 additions and 1 deletions

View File

@ -447,6 +447,10 @@ CanvasItem (2D) - LightShader
+-------------------------------------+-------------------------------------------------------------------------------+
| const color *LIGHT\_COLOR* | Color of Light |
+-------------------------------------+-------------------------------------------------------------------------------+
| vec2 *LIGHT\_UV* | UV for light image |
+-------------------------------------+-------------------------------------------------------------------------------+
| color *SHADOW* | Light shadow color override |
+-------------------------------------+-------------------------------------------------------------------------------+
| out vec4 *LIGHT* | Light Output (shader is ignored if this is not used) |
+-------------------------------------+-------------------------------------------------------------------------------+