Merge branch 'add_frame_number' into 'master'

Add frame number to available postprocess uniforms

See merge request OpenMW/openmw!4355
This commit is contained in:
AnyOldName3 2024-09-10 16:58:27 +00:00
commit 0f74e0cca8
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] |