Parcourir la source

Fix compile error in advanced_postprocessing.rst

tetrapod00 il y a 11 mois
Parent
commit
f48748a05c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tutorials/shaders/advanced_postprocessing.rst

+ 1 - 1
tutorials/shaders/advanced_postprocessing.rst

@@ -47,7 +47,7 @@ and sets the vertex position in clip space directly.
 
   shader_type spatial;
   // Prevent the quad from being affected by lighting and fog. This also improves performance.
-  render_mode unshaded, disable_fog;
+  render_mode unshaded, fog_disabled;
 
   void vertex() {
     POSITION = vec4(VERTEX.xy, 1.0, 1.0);