mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-23 06:41:08 +00:00
changed overview.rst of post processing
This commit is contained in:
parent
df69fc7659
commit
c71f3508df
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user