mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 19:29:06 +00:00
Fix shader TIME description to match how it actually works
This commit is contained in:
@@ -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" |
|
||||
|
||||
Reference in New Issue
Block a user