Explorar el Código

Fix shader `TIME` description to match how it actually works

Hugo Locurcio hace 4 años
padre
commit
6b89096be5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tutorials/shaders/shader_reference/canvas_item_shader.rst

+ 1 - 1
tutorials/shaders/shader_reference/canvas_item_shader.rst

@@ -51,7 +51,7 @@ Global built-ins are available everywhere, including custom functions.
 +-------------------+-----------------------------------------------------------------------------+
 | Built-in          | Description                                                                 |
 +===================+=============================================================================+
-| in float **TIME** | Global time since the shader was compiled, in seconds (always positive).    |
+| in float **TIME** | Global time since the engine has started, in seconds (always positive).     |
 |                   | It's subject to the rollover setting (which is 3,600 seconds by default).   |
 |                   | It's not affected by :ref:`time_scale<class_Engine_property_time_scale>`    |
 |                   | or pausing, but you can define a global shader uniform to add a "scaled"    |