Browse Source

Fix OBJECT_POSITION description to match engine behavior.

Chris Ridenour 2 years ago
parent
commit
2bea88b4ea
1 changed files with 1 additions and 2 deletions
  1. 1 2
      tutorials/shaders/shader_reference/fog_shader.rst

+ 1 - 2
tutorials/shaders/shader_reference/fog_shader.rst

@@ -59,8 +59,7 @@ be drawn at once.
 +===============================+=================================================================================================+
 +===============================+=================================================================================================+
 | in vec3 **WORLD_POSITION**    | Position of current froxel cell in world space.                                                 |
 | in vec3 **WORLD_POSITION**    | Position of current froxel cell in world space.                                                 |
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 +-------------------------------+-------------------------------------------------------------------------------------------------+
-| in vec3 **OBJECT_POSITION**   | Position of current froxel cell relative to the center of the current                           |
-|                               | :ref:`FogVolume <class_FogVolume>`.                                                             |
+| in vec3 **OBJECT_POSITION**   | Position of the center of the current :ref:`FogVolume <class_FogVolume>` in world space.        |
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 | in vec3 **UVW**               | 3-dimensional uv, used to map a 3D texture to the current :ref:`FogVolume <class_FogVolume>`.   |
 | in vec3 **UVW**               | 3-dimensional uv, used to map a 3D texture to the current :ref:`FogVolume <class_FogVolume>`.   |
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 +-------------------------------+-------------------------------------------------------------------------------------------------+