Преглед изворни кода

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 **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     |
 |                               | inside volume, positive otherwise.                                                              |