From 3d9ca63b15c5fe5548cbb4fd8f39283cf3c64f67 Mon Sep 17 00:00:00 2001 From: tetrapod00 <145553014+tetrapod00@users.noreply.github.com> Date: Fri, 16 Aug 2024 12:11:21 -0700 Subject: [PATCH] Fix compile error in advanced_postprocessing.rst --- tutorials/shaders/advanced_postprocessing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tutorials/shaders/advanced_postprocessing.rst b/tutorials/shaders/advanced_postprocessing.rst index 8b68b9053..73dc00422 100644 --- a/tutorials/shaders/advanced_postprocessing.rst +++ b/tutorials/shaders/advanced_postprocessing.rst @@ -46,6 +46,8 @@ and sets the vertex position directly. .. code-block:: glsl shader_type spatial; + // Prevent the quad from being affected by lighting and fog. This also improves performance. + render_mode unshaded, fog_disabled; void vertex() { POSITION = vec4(VERTEX, 1.0);