From 4d22f09704d2c9b40469f62fcae8a1131f7621b6 Mon Sep 17 00:00:00 2001 From: TidB Date: Sat, 9 Sep 2023 14:39:15 +0200 Subject: [PATCH] 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) --- tutorials/shaders/shader_reference/fog_shader.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/shaders/shader_reference/fog_shader.rst b/tutorials/shaders/shader_reference/fog_shader.rst index 7c8dcbec84c..509df9a2b72 100644 --- a/tutorials/shaders/shader_reference/fog_shader.rst +++ b/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 `. | +-------------------------------+-------------------------------------------------------------------------------------------------+ -| in vec3 **EXTENTS** | Color value of corresponding pixel from half resolution pass. Uses linear filter. | +| in vec3 **SIZE** | Size of the current :ref:`FogVolume ` when its | +| | :ref:`shape` has a size. | +-------------------------------+-------------------------------------------------------------------------------------------------+ | in vec3 **SDF** | Signed distance field to the surface of the :ref:`FogVolume `. Negative if | | | inside volume, positive otherwise. |