Add frame number to available postprocess uniforms

This commit is contained in:
Cody Glassman 2024-09-10 16:58:27 +00:00 committed by AnyOldName3
parent 090c65c017
commit b346a4a858
4 changed files with 13 additions and 2 deletions

View file

@ -107,6 +107,8 @@ Builtin Uniforms
+-------------+------------------------------+--------------------------------------------------+
| float | ``omw.deltaSimulationTime`` | The change in `omw.simulationTime` |
+-------------+------------------------------+--------------------------------------------------+
| int | ``omw.frameNumber`` | The current frame number |
+-------------+------------------------------+--------------------------------------------------+
| float | ``omw.windSpeed`` | The current wind speed |
+-------------+------------------------------+--------------------------------------------------+
| float | ``omw.weatherTransition`` | The transition factor between weathers [0, 1] |