Skip to content

Commit 4d22f09

Browse files
committed
Fix SIZE built-in in fog shader reference
It has been renamed from EXTENTS; while its description was completely unrelated (copied from the sky shader reference)
1 parent 7fe92ad commit 4d22f09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tutorials/shaders/shader_reference/fog_shader.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ be drawn at once.
6363
+-------------------------------+-------------------------------------------------------------------------------------------------+
6464
| in vec3 **UVW** | 3-dimensional uv, used to map a 3D texture to the current :ref:`FogVolume <class_FogVolume>`. |
6565
+-------------------------------+-------------------------------------------------------------------------------------------------+
66-
| in vec3 **EXTENTS** | Color value of corresponding pixel from half resolution pass. Uses linear filter. |
66+
| in vec3 **SIZE** | Size of the current :ref:`FogVolume <class_FogVolume>` when its |
67+
| | :ref:`shape<class_FogVolume_property_shape>` has a size. |
6768
+-------------------------------+-------------------------------------------------------------------------------------------------+
6869
| in vec3 **SDF** | Signed distance field to the surface of the :ref:`FogVolume <class_FogVolume>`. Negative if |
6970
| | inside volume, positive otherwise. |

0 commit comments

Comments
 (0)