1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 21:40:42 +00:00

changed overview.rst of post processing

This commit is contained in:
florent.teppe 2022-08-07 00:26:29 +02:00
parent df69fc7659
commit c71f3508df

View File

@ -45,8 +45,9 @@ Hot Reloading
============= =============
It is possible to modify a shader without restarting OpenMW, :ref:`live reload` It is possible to modify a shader without restarting OpenMW, :ref:`live reload`
must be enabled in ``settings.cfg``. Whenever a file is modified and saved, the must be enabled by using the lua command `debug.setShaderHotReloadEnabled(true)`.
shader will automatically reload in game. This allows shaders to be written in a Whenever a file is modified and saved, the shader will automatically reload in game.
text editor you are comfortable with. The only restriction is that the VFS is not You can also trigger a single reload using `debug.triggerShaderReload()`
aware of new files or changes in non-shader files, so new shaders and localization This allows shaders to be written in a text editor you are comfortable with.
strings can not be used. The only restriction is that the VFS is not aware of new files or changes in non-shader files,
so new shaders and localization strings can not be used.