Juan Linietsky 8 years ago
parent
commit
d383a9d91a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      learning/features/shading/shading_language.rst

+ 2 - 2
learning/features/shading/shading_language.rst

@@ -184,7 +184,7 @@ Godot shading language supports the same set of operators as GLSL ES 3.0. Below
 +-------------+-----------------------+--------------------+
 +-------------+-----------------------+--------------------+
 | 2           | unary                 | **+, -, !, ~**     |
 | 2           | unary                 | **+, -, !, ~**     |
 +-------------+-----------------------+--------------------+
 +-------------+-----------------------+--------------------+
-| 3           | multiplicative        | ***, /, % **       |
+| 3           | multiplicative        | **/, *, % **       |
 +-------------+-----------------------+--------------------+
 +-------------+-----------------------+--------------------+
 | 4           | additive              | **+, -**           |
 | 4           | additive              | **+, -**           |
 +-------------+-----------------------+--------------------+
 +-------------+-----------------------+--------------------+
@@ -376,7 +376,7 @@ Full list of hints below:
 +===================+===============================+========================================================================================================================================================================================================================+
 +===================+===============================+========================================================================================================================================================================================================================+
 | **vec4**          | hint_color                    | This uniform is exported as a color parameter in property editor. Color is also converted from SRGB for 3D shaders.                                                                                                    |
 | **vec4**          | hint_color                    | This uniform is exported as a color parameter in property editor. Color is also converted from SRGB for 3D shaders.                                                                                                    |
 +-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 +-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| **int**,**float** | hint_range(min,max [,step] )  | This scalar uniform is exported as a given range in property editor.                                                                                                                                                   |
+| **int**, **float**| hint_range(min,max [,step] )  | This scalar uniform is exported as a given range in property editor.                                                                                                                                                   |
 +-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 +-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | **sampler2D**     | hint_albedo                   | This texture is used as albedo color. Godot will try to make sure the texture has SRGB -> Linear conversion turned on. If no texture is supplied, this is assumed to be white.                                         |
 | **sampler2D**     | hint_albedo                   | This texture is used as albedo color. Godot will try to make sure the texture has SRGB -> Linear conversion turned on. If no texture is supplied, this is assumed to be white.                                         |
 +-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 +-------------------+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+