浏览代码

Merge pull request #7897 from TidB/master

Fix SIZE built-in in fog shader reference
Max Hilbrunner 1 年之前
父节点
当前提交
8b4cc3b229
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tutorials/shaders/shader_reference/fog_shader.rst

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

@@ -63,7 +63,8 @@ be drawn at once.
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 | 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>`.   |
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 +-------------------------------+-------------------------------------------------------------------------------------------------+
-| in vec3 **EXTENTS**           | Color value of corresponding pixel from half resolution pass. Uses linear filter.               |
+| in vec3 **SIZE**              | Size of the current :ref:`FogVolume <class_FogVolume>` when its                                 |
+|                               | :ref:`shape<class_FogVolume_property_shape>` has a size.                                        |
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 +-------------------------------+-------------------------------------------------------------------------------------------------+
 | in vec3 **SDF**               | Signed distance field to the surface of the :ref:`FogVolume <class_FogVolume>`. Negative if     |
 | in vec3 **SDF**               | Signed distance field to the surface of the :ref:`FogVolume <class_FogVolume>`. Negative if     |
 |                               | inside volume, positive otherwise.                                                              |
 |                               | inside volume, positive otherwise.                                                              |