mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 12:39:59 +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`
|
||||
must be enabled in ``settings.cfg``. Whenever a file is modified and saved, the
|
||||
shader will automatically reload in game. This allows shaders to be written in a
|
||||
text editor you are comfortable with. 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.
|
||||
must be enabled by using the lua command `debug.setShaderHotReloadEnabled(true)`.
|
||||
Whenever a file is modified and saved, the shader will automatically reload in game.
|
||||
You can also trigger a single reload using `debug.triggerShaderReload()`
|
||||
This allows shaders to be written in a text editor you are comfortable with.
|
||||
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