소스 검색

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>`.   |
 +-------------------------------+-------------------------------------------------------------------------------------------------+