Merge pull request #7897 from TidB/master

Fix SIZE built-in in fog shader reference
This commit is contained in:
Max Hilbrunner
2023-09-13 04:16:06 +02:00
committed by GitHub

View File

@@ -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. |