godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.78k stars 3.07k forks source link

Add a complete description of TIME to Spatial, Particle, Sky, and Fog shaders. #9725

Closed tetrapod00 closed 4 weeks ago

tetrapod00 commented 1 month ago

Your Godot version: 4.2, 4.3 Issue description: The built-in global shader uniform TIME is fully documented for CanvasItem shaders, but not in Spatial, Particle, Sky, or Fog shaders. Presumably this is the same global uniform for all shader types.

Proposal: Copy the description from the CanvasItem shader page to the other pages.

URL to the documentation page (if already existing): Documented here: https://docs.godotengine.org/en/latest/tutorials/shaders/shader_reference/canvas_item_shader.html#global-built-ins Incompletely documented here:

tetrapod00 commented 1 month ago

I'm working on a PR for this.