소스 검색

Merge pull request #234 from RandomShaper/patch-1

Update shading_language.rst
Julian Murgia 9 년 전
부모
커밋
d70cdc45c0
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      reference/shading_language.rst

+ 5 - 1
reference/shading_language.rst

@@ -447,7 +447,11 @@ CanvasItem (2D) - LightShader
 +-------------------------------------+-------------------------------------------------------------------------------+
 | const color *LIGHT\_COLOR*          | Color of Light                                                                |
 +-------------------------------------+-------------------------------------------------------------------------------+
-| out vec4 *LIGHT*                    | Light Output (shader is ignored if this is not used)                           |
+| 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)                          |
 +-------------------------------------+-------------------------------------------------------------------------------+
 
 Examples