From c71f3508df56131774055c768019b51be5631c67 Mon Sep 17 00:00:00 2001 From: "florent.teppe" Date: Sun, 7 Aug 2022 00:26:29 +0200 Subject: [PATCH] changed overview.rst of post processing --- docs/source/reference/postprocessing/overview.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/source/reference/postprocessing/overview.rst b/docs/source/reference/postprocessing/overview.rst index 275461bfd2..4384d82896 100644 --- a/docs/source/reference/postprocessing/overview.rst +++ b/docs/source/reference/postprocessing/overview.rst @@ -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.