1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-30 16:20:21 +00:00

Merge branch 'soft_docs' into 'master'

Update soft effect docs

See merge request OpenMW/openmw!2090
This commit is contained in:
psi29a 2022-07-05 15:51:23 +00:00
commit 33a5f27b18

View File

@ -2,16 +2,15 @@ Custom Shader Effects
##################### #####################
OpenMW leverages the `NiStringExtraData` node to inject special shader flags and effects. OpenMW leverages the `NiStringExtraData` node to inject special shader flags and effects.
This nodes must have the prefix `omw:data` and have a valid JSON object that follows. This node must have the prefix `omw:data` and have a valid JSON object that follows.
.. note:: .. note::
This is a new feature to inject OpenMW specific effects. Only a single This is a new feature to inject OpenMW-specific shader effects. Only a single
effect is currently supported. By default, the shader effects will propogate effect is currently supported. By default, the shader effects will propogate
to all a nodes children. Other propogation modes and effects will come with to all a node's children. Other propogation modes and effects will come with
future releases. future releases.
See below to see the currently supported effects.
Soft Effect Soft Effect
----------- -----------
@ -23,7 +22,7 @@ planes for various effects like steam over a hotspring or low hanging fog for
dungeons. dungeons.
To use this feature the :ref:`soft particles` setting must be enabled. To use this feature the :ref:`soft particles` setting must be enabled.
This settings can either be activated in the OpenMW launcher or changed in `settings.cfg`: This setting can either be activated in the OpenMW launcher or changed in `settings.cfg`:
:: ::