浏览代码

Fix OBJECT_POSITION description to match engine behavior.

Chris Ridenour 2 年之前
父节点
当前提交
2bea88b4ea
共有 1 个文件被更改,包括 1 次插入2 次删除
  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 **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>`.   |
 +-------------------------------+-------------------------------------------------------------------------------------------------+